From 46c960b37d398132a8b2d0f70acc70d2b3e6efc6 Mon Sep 17 00:00:00 2001 From: Thomas Lake Date: Tue, 16 Aug 2011 16:17:38 +0100 Subject: [PATCH] Use advanced command line options Options specified as 'advanced' were being silently discarded due to an error in 8c87fa6bb552e3b52f6ba3755aa626428e301765 --- overviewer_core/configParser.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/overviewer_core/configParser.py b/overviewer_core/configParser.py index 31a0d82..621979d 100644 --- a/overviewer_core/configParser.py +++ b/overviewer_core/configParser.py @@ -78,7 +78,6 @@ class ConfigOptionParser(object): g = dict() for a in self.configVars: n = a['dest'] - if a.get('advanced', False): continue if a.get('commandLineOnly', False): continue v = getattr(options, n) if v != None: @@ -133,7 +132,6 @@ class ConfigOptionParser(object): # third, merge options into configReslts (with options overwriting anything in configResults) for a in self.configVars: n = a['dest'] - if a.get('advanced', False): continue if getattr(options, n) != None: configResults.__dict__[n] = getattr(options, n)