We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5876ce7 commit 659152dCopy full SHA for 659152d
1 file changed
cfbs/commands.py
@@ -87,15 +87,13 @@ def __init__(self, message):
87
# Does not modify/wrap the function it decorates.
88
def cfbs_command(name):
89
def inner(function):
90
- global _commands
91
_commands[name] = function
92
return function # Unmodified, we've just added it to the dict
93
94
return inner
95
96
97
def get_command_names():
98
99
names = _commands.keys()
100
return names
101
0 commit comments