3
0
mirror of https://git.launchpad.net/ubuntu-dev-tools synced 2025-03-29 20:01:07 +00:00

Pass the basename of the file to LP as the filename.

This commit is contained in:
James Westby 2010-06-03 13:44:37 -04:00
commit ea28be8a95

@ -98,7 +98,8 @@ try:
signature_content = None signature_content = None
# Create a new product release file. # Create a new product release file.
release.add_file(filename=tarball, description='release tarball', filename = os.path.basename(tarball)
release.add_file(filename=filename, description='release tarball',
file_content=file_content, content_type='appplication/x-gzip', file_content=file_content, content_type='appplication/x-gzip',
file_type='Code Release Tarball', signature_filename=signature, file_type='Code Release Tarball', signature_filename=signature,
signature_content=signature_content) signature_content=signature_content)