Skip to content

Commit 3269a69

Browse files
committed
Variable naming fix
- Legacy-Id: 14286
1 parent b6f0fbd commit 3269a69

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ietf/utils/management/commands/run_yang_model_checks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ def handle(self, *filenames, **options):
6565
"""
6666

6767
self.verbosity = int(options.get('verbosity'))
68-
filenames = options.get('draftnames')
68+
drafts = options.get('draftnames')
6969

7070
active_state = State.objects.get(type="draft", slug="active")
7171

7272
checker = DraftYangChecker()
73-
if filenames:
74-
for name in filenames:
73+
if drafts:
74+
for name in drafts:
7575
parts = name.rsplit('-',1)
7676
if len(parts)==2 and len(parts[1])==2 and parts[1].isdigit():
7777
name = parts[0]

0 commit comments

Comments
 (0)