projectatomic/rpm-ostree-toolbox — pull request #38 by baude (2014-12-15 21:21:48+00:00)
Title: Error checking for configfile and lorax output directory

taskbase:
* Check that the -c config file exists (and is a file)
* Add try/except around the reading of that file to catch
any errors by ConfigParser when loading (like syntax issues)
* Use ConfigParser everywhere instead of iniparser
* Check if lorax output directory exists; if does, fail_msg and
advise rename or delete.
* Correct minor bug where we avoid a traceback if the profile is
DEFAULT because has_section does not recognize DEFAULT