Skip to content

Commit 49a6e8a

Browse files
authored
Asynqp doesn't work on Py 3.7 - don't instrument it (#111)
1 parent e651ffa commit 49a6e8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instana/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def load(module):
6060
def load_instrumentation():
6161
if "INSTANA_DISABLE_AUTO_INSTR" not in os.environ:
6262
# Import & initialize instrumentation
63-
if sys.version_info >= (3, 4):
63+
if sys.version_info >= (3, 4) and sys.version_info < (3, 7):
6464
from .instrumentation import asynqp # noqa
6565
from .instrumentation import mysqlpython # noqa
6666
from .instrumentation import redis # noqa

0 commit comments

Comments
 (0)