Public bug reported:

Binary package hint: dput

When trying to upload a package using a not allowed method (http in my
case), dput crashes with the following message:

#
Uploading to lp (via http to ppa.launchpad.net):
  Uploading tkgate_1.8.7-2~ppa1.dsc: Traceback (most recent call last):
  File "/usr/bin/dput", line 938, in <module>
    main()
  File "/usr/bin/dput", line 900, in main
    files_to_upload, debug, 0, progress=progress)
  File "/usr/share/dput/http.py", line 123, in upload
    print "Upload failed: %d %d"% (res.status, res.reason)
TypeError: %d format: a number is required, not str
#

Changing the line to:
print "Upload failed:", res.status, res.reason

Shows the following: 
Uploading tkgate_1.8.7-2~ppa1.dsc: Upload failed: 405 Method Not Allowed

** Affects: dput (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Wrong print format in http method
https://bugs.launchpad.net/bugs/380940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to