Skip to content

Commit 633fed8

Browse files
committed
Missed some () when removing a pylint2 compat shim
1 parent d5299a4 commit 633fed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylint_django/augmentations/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def ignore_import_warnings_for_related_fields(orig_method, self, node):
329329

330330
new_things = {}
331331

332-
for name, stmts in consumer.to_consume.items:
332+
for name, stmts in consumer.to_consume.items():
333333
if isinstance(stmts[0], ImportFrom):
334334
if any(n[0] in ("ForeignKey", "OneToOneField") for n in stmts[0].names):
335335
continue

0 commit comments

Comments
 (0)