diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Options.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Options.py b/src/lib/Options.py index cfc9f3ddc..02815ba24 100644 --- a/src/lib/Options.py +++ b/src/lib/Options.py @@ -70,10 +70,10 @@ class BasicOptionParser: else: ret[key] = sys.argv[sys.argv.index(option[0]) + 1] continue - elif envvar and os.environ.has_key(envvar): + if envvar and os.environ.has_key(envvar): ret[key] = os.environ[envvar] continue - elif self.configfile and cfpath: + if self.configfile and cfpath: try: value = apply(cf.get, cfpath) ret[key] = value |