Don't blat options.debug with a simple truth when it should be an integer

This commit is contained in:
Chris Jones 2010-03-21 00:48:39 +00:00
parent 16bc247b0e
commit 53ef40d847
1 changed files with 2 additions and 1 deletions

View File

@ -86,7 +86,8 @@ WM_WINDOW_ROLE property on the window')
sys.exit(0)
if options.debug_classes or options.debug_methods:
options.debug = True
if not options.debug > 0:
options.debug = True
if options.debug:
util.DEBUG = True