ba07c4cf14
This improves handling input in pmbootstrap init. Various config options in "Additional options" are int, thus whole input must be checked: This fixes obvious error: Jobs [9]: 5e and less obvious errors: Extra space size: 600.5 Extra space size: 600m ... $ pmbootstrap install [17:28:23] *** (3/4) PREPARE INSTALL BLOCKDEVICE *** [17:28:23] ERROR: invalid literal for int() with base 10: '600.5' NOTE: I suppose moving ^ $ to ReadlineTabCompleter.ask() would break some of already defined regexes. Signed-off-by: Petr Vorel <petr.vorel@gmail.com> |
||
---|---|---|
.. | ||
__init__.py | ||
init.py | ||
load.py | ||
merge_with_args.py | ||
pmaports.py | ||
save.py | ||
workdir.py |