/usr/share/dput/https.py is in dput 0.9.6.4ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | # Bit of a hack, really dput should add /usr/share/dput to the import path.
d = {}
exec open("/usr/share/dput/http.py") in d
real_upload = d["upload"]
def upload(fqdn, login, incoming, files_to_upload, debug, dummy, progress=0):
return real_upload(fqdn, login, incoming, files_to_upload, debug, dummy, progress, protocol="https")
|