diff options
author | W. Trevor King <wking@drexel.edu> | 2009-06-19 15:16:49 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-06-19 15:16:49 -0400 |
commit | 9fb7b0d84872c9db0bb33ea791874e147c7e5f0d (patch) | |
tree | 688a0020e70b5763ca4e8184c5d40d900a4b4fa1 /Bugs-Everywhere-Web/beweb/templates/__init__.py | |
parent | 6215862d89ed606c18df896feafbecb31bbe8ec6 (diff) | |
download | bugseverywhere-9fb7b0d84872c9db0bb33ea791874e147c7e5f0d.tar.gz |
Allow defaults for config.get_val() in case of missing user-config file.
Fixes bug introduced by James Rowe's previous patch:
$ be list
Traceback (most recent call last):
...
File ".../libbe/rcs.py", line 34, in _get_matching_rcs
import arch
File ".../libbe/arch.py", line 29, in <module>
client = config.get_val("arch_client")
File ".../libbe/config.py", line 70, in get_val
File "/usr/lib/python2.5/codecs.py", line 817, in open
file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: '/home/wking/.bugs_everywhere'
Diffstat (limited to 'Bugs-Everywhere-Web/beweb/templates/__init__.py')
0 files changed, 0 insertions, 0 deletions