Commits

Tikitu de Jager  committed 8ac5935 Draft

Supporting flags without colon in config file.

  • Participants
  • Parent commits 3c3d171

Comments (0)

Files changed (1)

File argparse_config.src/argparse_config/__init__.py

 __version__ = '0.4a4'
 
 def read_config(arg_parser, filename):
-    config_parser = ConfigParser.SafeConfigParser()
+    config_parser = ConfigParser.SafeConfigParser(allow_no_value=True)
     config_parser.read([filename])
     set_defaults(arg_parser, config_parser)