Minor fixes (#316)

* Fixed typo and specify list order

* Simplify code for jobs default value
This commit is contained in:
Pablo Castellano 2017-08-06 14:50:38 +02:00 committed by Oliver Smith
parent 5eb9b92e7b
commit b41e75e662
3 changed files with 4 additions and 6 deletions

View file

@ -23,7 +23,7 @@ import glob
def list(args):
"""
Get all UIs, for which aports are available
:returns: ["none", "postmarketos-ui-one", "psotmarketos-ui-two", ...]
:returns: ["postmarketos-ui-one", "postmarketos-ui-two", ..., "none"]
"""
ret = []
for path in glob.glob(args.aports + "/main/postmarketos-ui-*"):