Commit 3ffa9da1 authored by Martin Potthast's avatar Martin Potthast

*** empty log message ***

parent d2147f46
......@@ -30,6 +30,8 @@ def load_config():
def get_commands(config):
"""Returns commands mapped to directories containing their subcommands."""
commands = collections.OrderedDict()
# FIXME: Variable names should be English only; also "moduls" has been
# renamed to "command".
for directory in os.listdir(config["moduls_directory"]):
if (os.path.isdir(config["moduls_directory"] + directory) and
directory not in config["ignored_dirs"]):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment