mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] 'str' is a python builtin
This commit is contained in:
parent
6cceddf70c
commit
340f3617a2
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ with open(ACTIONSMAP_FILE, 'r') as stream:
|
|||
|
||||
# Getting the dictionary containning what actions are possible per domain
|
||||
OPTION_TREE = yaml.safe_load(stream)
|
||||
DOMAINS = [str for str in OPTION_TREE.keys() if not str.startswith('_')]
|
||||
DOMAINS = [x for x in OPTION_TREE.keys() if not x.startswith('_')]
|
||||
DOMAINS_STR = '"{}"'.format(' '.join(DOMAINS))
|
||||
ACTIONS_DICT = {}
|
||||
for domain in DOMAINS:
|
||||
|
|
Loading…
Add table
Reference in a new issue