-
Committer:
Andy Doan
-
Date:
2014-01-25 19:50:24 UTC
-
Revision ID:
andy.doan@canonical.com-20140125195024-u77u7wpgph0uooad
cli: improve loading of configuration data
The config data was being loaded at import time before the CLI
could even try deal with the usage statement. This changes thing
so the loading of the configuration is done after argparse.
While doing this change I consolidated the required configuration
into a single file. That should be easier to deal with.
As a result of the change, the imports used by some of the modules
needed to be updated so they use "utils" and not just import objects
from utils into each module's namespace.
This allows our test cases to now run without needing a special
config file.