1
0
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:
Dr. Peter Poeml
2007-01-23 00:37:15 +00:00
parent 9a944edfeb
commit e6a65dab44

View File

@@ -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):