Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #34 from djmitche/load-config-bug
Browse files Browse the repository at this point in the history
Return the config even when it's cached
  • Loading branch information
djmitche committed Apr 15, 2015
2 parents 0e13779 + 920a56c commit c3a128a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fwunit/analysis/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def load_config(filename="fwunit.yaml"):
if _loaded_config:
if _loaded_config[0] != filename:
raise RuntimeError("load_config already called with %r" % (_loaded_config[0],))
return
return _loaded_config[1]

# chdir to cfg file so rel paths work
config_dir = os.path.dirname(os.path.abspath(filename))
Expand Down

0 comments on commit c3a128a

Please sign in to comment.