mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-28 02:36:15 +01:00
Redirect debug output to stderr.
This commit is contained in:
parent
fdfd4793c0
commit
c88d7fc4a3
@ -2090,7 +2090,7 @@ def http_request(method, url, headers={}, data=None, file=None, timeout=100):
|
|||||||
else:
|
else:
|
||||||
raise
|
raise
|
||||||
|
|
||||||
if conf.config['debug']: print method, url
|
if conf.config['debug']: print >>sys.stderr, method, url
|
||||||
|
|
||||||
old_timeout = socket.getdefaulttimeout()
|
old_timeout = socket.getdefaulttimeout()
|
||||||
# XXX: dirty hack as timeout doesn't work with python-m2crypto
|
# XXX: dirty hack as timeout doesn't work with python-m2crypto
|
||||||
|
Loading…
Reference in New Issue
Block a user