forked from Mirror/pmbootstrap
Minor spelling fixes
This commit is contained in:
parent
a49187c6e4
commit
a9a6302233
1 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue