+ def get_config_fn(self):
+ # Look for "-C <something>" to get the
+ # name of the config file. Using a real OptionParser here is
+ # problematic as it will throw 'no such option' errors for options
+ # that it does not understand.
+
+ last = None
+ for arg in sys.argv:
+ if (last=="-C"):
+ return arg
+ last = arg
+
+ return DEFAULT_CONFIG_FN