mozilla/configman — Issue #21: Potential UnboundLocalError if config can't be generated in context()
Author: peterbe
Created: 2012-01-19 00:25:11+00:00
State: open

This is the potentially offending code: https://github.com/mozilla/configman/blob/master/configman/config_manager.py#L260-266

If the `get_config` fails, you'll get a UnboundLocalError on `config` which hides the real error because the `finally:` block is dealt with before the real error is bubbled up.