X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=manifold%2Futil%2Foptions.py;h=e09ad33575e5fa7499207dfddffd9216bfcc5461;hb=5f03119b3bc1f16e68dd805c4b5773ba1ee7148e;hp=8c177258833c36a8a232c78d73b522322383f4da;hpb=b3fe5beb2d4af31d1ebd7c99e6f16118428afb4c;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)