3
0
mirror of https://git.launchpad.net/ubuntu-dev-tools synced 2025-03-13 08:01:09 +00:00

Do not pass the dir part of the tarball name to LP

This commit is contained in:
Aurelien Gateau 2010-06-03 14:21:22 +02:00
parent f35f81dc56
commit 5f01f369a9

@ -98,7 +98,8 @@ try:
signature_content = None
# 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_type='Code Release Tarball', signature_filename=signature,
signature_content=signature_content)