twobraids/configman — pull request #17 by peterbe (2011-11-15 00:54:52+00:00)
Title: value_sources/ now uses relative imports

* All mentioning of "configman" inside the files in value_sources/ was replaced with relative imports. Not only is that more "solid" it also means that the code within doesn't depend on the name of its container.

* The circular import was fixed but refactoring out ``option_val_str`` from ``ConfigurationManager`` into ``converters.py`` instead. A deprecation warning is still lingering in there. We also need to review the test coverage.

* All handling of the file "exceptions.py" refactoring. "exceptions.py" is no more. Also, I reshuffled all use of config_exceptions.py and source_exceptions.py so that it doesn't import these are modules but that it imports all exceptions themselves. If we had 100% test coverage I didn't need to do that. Going through the code I actually found lots of places where it did ``except FooBarError`` or something and ``FooBarError`` wasn't imported so it would have barfed on the exception handling itself.

* A bunch of pep8 and pyflake fixes.