summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-04-07 16:38:40 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-04-07 16:38:40 +0000
commitd5e2badffb07522f72f46ac173b07f2445c82a7a (patch)
tree92afe2b9f27929095e705b61572aa9416cededd9 /src
parent6cdf74aed64b23c04b9ac65eb6f8428bfa692a2d (diff)
downloadbcfg2-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')
-rw-r--r--src/lib/Options.py4
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):