mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Go home python, you're drunk
This commit is contained in:
parent
b897c5e75c
commit
003cc1f543
1 changed files with 2 additions and 1 deletions
|
@ -56,10 +56,11 @@ def parse_dict(action_map):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
# Intialize parsers
|
# Intialize parsers
|
||||||
parsers = subparsers_category = subparsers_action = patterns = {}
|
parsers = subparsers_category = subparsers_action = {}
|
||||||
parsers['general'] = argparse.ArgumentParser()
|
parsers['general'] = argparse.ArgumentParser()
|
||||||
subparsers = parsers['general'].add_subparsers()
|
subparsers = parsers['general'].add_subparsers()
|
||||||
new_args = []
|
new_args = []
|
||||||
|
patterns = {}
|
||||||
|
|
||||||
# Add general arguments
|
# Add general arguments
|
||||||
for arg_name, arg_params in action_map['general_arguments'].items():
|
for arg_name, arg_params in action_map['general_arguments'].items():
|
||||||
|
|
Loading…
Reference in a new issue