mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-05 07:03:38 +02:00
these two debug prints in osc/othermethods.py may be helpful sometimes (although the code is planned te be rewritten anyway)
This commit is contained in:
@@ -44,6 +44,7 @@ def request(method, url, username, password, file=None, strbuf=None):
|
||||
conn = httplib.HTTP(host)
|
||||
else:
|
||||
sys.exit('unknown scheme %s' % scheme)
|
||||
#conn.set_debuglevel(10)
|
||||
|
||||
# Headers
|
||||
conn.putrequest(method, '%s' % path)
|
||||
@@ -85,6 +86,7 @@ def request(method, url, username, password, file=None, strbuf=None):
|
||||
print >>sys.stderr, 'reply:', reply
|
||||
print >>sys.stderr, '\nDebugging output follows.\nurl:\n%s\nheaders:\n%s\nresponse:\n%s' % (url, headers, msg)
|
||||
|
||||
#print ''.join(conn.file.read())
|
||||
|
||||
|
||||
def delfile(url, file, username, password):
|
||||
|
Reference in New Issue
Block a user