Ensure we don't accidentally set debug in python versions using optparse

This commit is contained in:
Matt Martz 2016-03-07 17:07:48 -06:00
parent 4f7f367391
commit 69bae532c5
1 changed files with 1 additions and 1 deletions

View File

@ -1203,7 +1203,7 @@ def shell():
SCHEME = 'https'
debug = getattr(args, 'debug', False)
if debug:
if debug and debug != 'SUPPRESSHELP':
DEBUG = True
# Pre-cache the user agent string