Skip to content

Commit 659152d

Browse files
committed
Fixed code not compliant with a new flake8 CI check
Signed-off-by: jakub-nt <175944085+jakub-nt@users.noreply.github.com>
1 parent 5876ce7 commit 659152d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

cfbs/commands.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,13 @@ def __init__(self, message):
8787
# Does not modify/wrap the function it decorates.
8888
def cfbs_command(name):
8989
def inner(function):
90-
global _commands
9190
_commands[name] = function
9291
return function # Unmodified, we've just added it to the dict
9392

9493
return inner
9594

9695

9796
def get_command_names():
98-
global _commands
9997
names = _commands.keys()
10098
return names
10199

0 commit comments

Comments
 (0)