Skip to content

Commit be0660f

Browse files
committed
Fix imports
1 parent a218a24 commit be0660f

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

redis/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import sys
1+
from importlib import metadata
22

33
from redis import asyncio # noqa
44
from redis.backoff import default_backoff
@@ -36,8 +36,6 @@
3636
)
3737
from redis.utils import from_url
3838

39-
from importlib import metadata
40-
4139

4240
def int_or_str(value):
4341
try:

redis/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import logging
2-
import sys
32
from contextlib import contextmanager
43
from functools import wraps
54
from typing import Any, Dict, Mapping, Union

0 commit comments

Comments
 (0)