backportpackage: Fix filenames searched when looking for existing

.orig.tar.foo files (to determine if we need to upload it again or not).
(LP: #1007908)
This commit is contained in:
Stefano Rivera 2012-06-03 00:57:29 +01:00
commit aa2730f07f
2 changed files with 9 additions and 3 deletions

View File

@ -269,9 +269,7 @@ def orig_needed(upload, workdir, pkg):
ppa = upload.split(':', 1)[1]
user, ppa = ppa.split('/', 1)
version = pkg.version.full_version
if pkg.version.epoch:
version = version.split(pkg.version.epoch, 1)[1]
version = pkg.version.upstream_version
h = Http()
for filename in glob.glob(os.path.join(workdir,

8
debian/changelog vendored
View File

@ -1,3 +1,11 @@
ubuntu-dev-tools (0.143) UNRELEASED; urgency=low
* backportpackage: Fix filenames searched when looking for existing
.orig.tar.foo files (to determine if we need to upload it again or not).
(LP: #1007908)
-- Iain Lane <laney@ubuntu.com> Sat, 02 Jun 2012 20:25:50 +0100
ubuntu-dev-tools (0.142) unstable; urgency=low
[ Stefano Rivera ]