8000 fix: Linters · etherscan-io/sentry-python@0cb6264 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0cb6264

Browse files
committed
fix: Linters
1 parent 8e5e3b0 commit 0cb6264

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sentry_sdk/integrations/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
from __future__ import absolute_import
33

44
from threading import Lock
5-
from collections import namedtuple
65

76
from sentry_sdk._compat import iteritems
87
from sentry_sdk.utils import logger
@@ -14,11 +13,10 @@
1413

1514
def _generate_default_integrations_iterator(*import_strings):
1615
def iter_default_integrations():
17-
# type: () -> Iterator[Type[Integration]]
1816
"""Returns an iterator of the default integration classes:
1917
"""
2018
for import_string in import_strings:
21-
module, cls = import_strings.rsplit(".", 1)
19+
module, cls = import_string.rsplit(".", 1)
2220
yield getattr(__import__(module), cls)
2321

2422
for import_string in import_strings:

0 commit comments

Comments
 (0)
0