* src/MarkupText.py: raise error in case of parsing failure.
	* src/const.py.in: add argument support for debug switch.
	* src/ArgHandler.py (parse_arg): handle debug switch argument.



svn: r8207
This commit is contained in:
Zsolt Foldvari
2007-02-21 16:20:55 +00:00
parent 2ce4226efb
commit bccf5acf4c
4 changed files with 23 additions and 16 deletions

View File

@ -256,7 +256,7 @@ class ArgHandler:
options_str = options[opt_ix+1][1]
self.actions.append((action,options_str))
elif o in ('-d', '--debug'):
l = logging.getLogger()
l = logging.getLogger(v)
l.setLevel(logging.DEBUG)
#-------------------------------------------------------------------------