diff -Nru dput-0.9.4ubuntu1/debian/changelog dput-0.9.4ubuntu2/debian/changelog --- dput-0.9.4ubuntu1/debian/changelog 2009-06-18 13:01:50.000000000 +0100 +++ dput-0.9.4ubuntu2/debian/changelog 2009-06-19 10:16:04.000000000 +0100 @@ -1,3 +1,10 @@ +dput (0.9.4ubuntu2) karmic; urgency=low + + * Don't incorrectly assume that HTTPResonse.reason is an integer when + generating an error message (LP: #380940). + + -- Evan Dandrea Fri, 19 Jun 2009 10:15:53 +0100 + dput (0.9.4ubuntu1) karmic; urgency=low * Merge from debian unstable (LP: #388939), remaining changes: diff -Nru dput-0.9.4ubuntu1/http.py dput-0.9.4ubuntu2/http.py --- dput-0.9.4ubuntu1/http.py 2009-03-29 11:53:31.000000000 +0100 +++ dput-0.9.4ubuntu2/http.py 2009-06-19 10:15:14.000000000 +0100 @@ -120,6 +120,6 @@ print "Upload failed as unauthorized: %s"%res.reason print " Maybe wrong username or password?" else: - print "Upload failed: %d %d"% (res.status, res.reason) + print "Upload failed:", res.status, res.reason sys.exit(1) res.read() # must be done, but we're not interested