Minor spelling fixes

This commit is contained in:
Oliver Smith 2017-07-27 19:33:23 +02:00
parent a49187c6e4
commit a9a6302233
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -28,8 +28,8 @@ import pmb.helpers.ui
def ask_for_work_path(args): def ask_for_work_path(args):
""" """
Ask for the work path, until we can create (when it does not exist) and Ask for the work path, until we can create it (when it does not exist) and
write into. write into it.
:returns: the work path :returns: the work path
""" """
logging.info("Location of the 'work' path. Multiple chroots" logging.info("Location of the 'work' path. Multiple chroots"
@ -51,7 +51,7 @@ def ask_for_ui(args):
logging.info("Available user interfaces (" + logging.info("Available user interfaces (" +
str(len(ui_list) - 1) + "): " + ", ".join(ui_list)) str(len(ui_list) - 1) + "): " + ", ".join(ui_list))
while True: while True:
ret = pmb.helpers.cli.ask(args, "User interface:", None, args.ui, True) ret = pmb.helpers.cli.ask(args, "User interface", None, args.ui, True)
if ret in ui_list: if ret in ui_list:
return ret return ret
logging.fatal("ERROR: Invalid user interface specified, please type in" logging.fatal("ERROR: Invalid user interface specified, please type in"