[mod] autopep8

This commit is contained in:
Laurent Peuch 2019-04-28 03:48:13 +02:00
parent 1e95a5d738
commit 218029b628

View file

@ -12,10 +12,10 @@ import os
THIS_SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
ACTIONSMAP_FILE = THIS_SCRIPT_DIR + '/../data/actionsmap/yunohost.yml'
OUTPUT_DIR ="output/"
OUTPUT_DIR = "output/"
# creates output directory
os.system("mkdir "+ OUTPUT_DIR )
os.system("mkdir " + OUTPUT_DIR)
# man page of yunohost
@ -37,7 +37,7 @@ with open(ACTIONSMAP_FILE, 'r') as stream:
ACTIONS_STR = '"{}"'.format(' '.join(ACTIONS))
ACTIONS_DICT[domain] = ACTIONS_STR
for action in ACTIONS:
#print("yunohost", domain, action)
cmd = "sudo help2man \" yunohost " + domain + " " + action + " --help \" -o " + OUTPUT_DIR + "yunohost_" + domain+ "_" + action
# print("yunohost", domain, action)
cmd = "sudo help2man \" yunohost " + domain + " " + action + " --help \" -o " + OUTPUT_DIR + "yunohost_" + domain + "_" + action
print(cmd)
os.system(cmd)