X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=manifold%2Futil%2Foptions.py;h=e09ad33575e5fa7499207dfddffd9216bfcc5461;hb=6fc8f34d4a718825ea7d083a470b1802b7ee9023;hp=8c177258833c36a8a232c78d73b522322383f4da;hpb=f34ee3829bb649ee71d8e2ec949ea2350084dfa1;p=myslice.git diff --git a/manifold/util/options.py b/manifold/util/options.py index 8c177258..e09ad335 100644 --- a/manifold/util/options.py +++ b/manifold/util/options.py @@ -6,7 +6,8 @@ import optparse # there seems to be another package that might be used to do similar stuff # python-configglue - Glues together optparse.OptionParser and ConfigParser.ConfigParser # additionally argumentparser would probably be the way to go, notwithstanding -import cfgparse +# xxx Moving this into the parse method so this module can at least be imported +#import cfgparse from manifold.util.singleton import Singleton @@ -44,6 +45,7 @@ class Options(object): # get defaults too # Initialize options to default values + import cfgparse cfg = cfgparse.ConfigParser() cfg.add_optparse_help_option(self._opt)