Skip to content

Commit 1a52cf9

Browse files
committed
Fixed lint
1 parent b5cc0a8 commit 1a52cf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphene/utils/module_loading.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ def import_string(dotted_path):
99
"""
1010
try:
1111
module_path, class_name = dotted_path.rsplit('.', 1)
12-
except ValueError as err:
12+
except ValueError:
1313
raise ImportError("%s doesn't look like a module path" % dotted_path)
1414

1515
module = import_module(module_path)
1616

1717
try:
1818
return getattr(module, class_name)
19-
except AttributeError as err:
19+
except AttributeError:
2020
raise ImportError('Module "%s" does not define a "%s" attribute/class' % (
2121
module_path, class_name)
2222
)

0 commit comments

Comments
 (0)