pull-lp-source: Support source packages with a bad version string

(LP: #844682).
This commit is contained in:
Benjamin Drung 2011-09-08 16:40:29 +02:00
parent dc37cf94b3
commit e9efe8d0f0
2 changed files with 8 additions and 1 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
ubuntu-dev-tools (0.130) UNRELEASED; urgency=low
* pull-lp-source: Support source packages with a bad version string
(LP: #844682).
-- Benjamin Drung <bdrung@debian.org> Thu, 08 Sep 2011 16:38:15 +0200
ubuntu-dev-tools (0.129) unstable; urgency=low
[ Colin Watson ]

View File

@ -136,7 +136,7 @@ def split_release_pocket(release):
raise ValueError('No release name specified')
if '-' in release:
(release, pocket) = release.split('-')
(release, pocket) = release.rsplit('-', 1)
pocket = pocket.capitalize()
if pocket not in ('Release', 'Security', 'Updates', 'Proposed',