diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-04-07 16:38:40 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-04-07 16:38:40 +0000 |
commit | d5e2badffb07522f72f46ac173b07f2445c82a7a (patch) | |
tree | 92afe2b9f27929095e705b61572aa9416cededd9 /src/lib | |
parent | 6cdf74aed64b23c04b9ac65eb6f8428bfa692a2d (diff) | |
download | bcfg2-d5e2badffb07522f72f46ac173b07f2445c82a7a.tar.gz bcfg2-d5e2badffb07522f72f46ac173b07f2445c82a7a.tar.bz2 bcfg2-d5e2badffb07522f72f46ac173b07f2445c82a7a.zip |
Fix option parsing (resolves Ticket #423)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3026 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Options.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/Options.py b/src/lib/Options.py index 4ca9bbffc..cfc9f3ddc 100644 --- a/src/lib/Options.py +++ b/src/lib/Options.py @@ -80,9 +80,7 @@ class BasicOptionParser: continue except: pass - else: - ret[key] = default - continue + ret[key] = default return ret class OptionParser(BasicOptionParser): |