Skip to content

Commit b8e9fff

Browse files
Update HTTPConnection.debuglevel setting
1 parent 3a989a8 commit b8e9fff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

htgettoken/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,10 +696,10 @@ def main(args=None):
696696
logfile=sys.stdout
697697
if options.debug:
698698
log("Enabling HTTPConnection debugging")
699-
# Unfortunately in urllib3 this only ever prints to stdout,
699+
# Unfortunately in http.client this only ever prints to stdout,
700700
# so only enable the HTTPConnection debugging when not needing
701701
# to parse stdout
702-
http.client.HTTPConnection.debuglevel = 5
702+
http.client.HTTPConnection.debuglevel = 1
703703

704704
if not options.nooidc and not sys.stdout.isatty() \
705705
and not sys.stderr.isatty() and not sys.stdin.isatty():

0 commit comments

Comments
 (0)