Skip to content

Commit 5dffb12

Browse files
committed
fix: flake8 the second
1 parent 0c1b0c4 commit 5dffb12

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

djangocms_form_builder/cms_plugins/ajax_plugins.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,6 @@ def traverse(instance):
354354
"""Recursively traverse children to identify form fields (by them having a method called
355355
"get_form_field" """
356356
if hasattr(instance, "get_form_field"):
357-
nonlocal fields
358357
name, field = instance.get_form_field()
359358
fields[name] = field
360359
if (

tests/requirements/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ pyflakes>=2.1
1212
wheel
1313
black
1414
pre-commit
15-
svglib!=1.6.0
15+
svglib!=1.6.0

0 commit comments

Comments
 (0)