mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 16:11:15 +00:00
ubuntutools/requestsync/mail.py:
Map "sid" back to "unstable" (and "squeeze" to "testing") else rmadison gets a Python traceback from the remote site instead of the expected data (lp: #508794).
This commit is contained in:
parent
8b1896be9e
commit
80ff3827c3
9
debian/changelog
vendored
9
debian/changelog
vendored
@ -1,3 +1,12 @@
|
|||||||
|
ubuntu-dev-tools (0.92) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* ubuntutools/requestsync/mail.py:
|
||||||
|
Map "sid" back to "unstable" (and "squeeze" to "testing") else rmadison
|
||||||
|
gets a Python traceback from the remote site instead of the expected data
|
||||||
|
(lp: #508794).
|
||||||
|
|
||||||
|
-- Michael Bienia <geser@ubuntu.com> Sun, 17 Jan 2010 17:53:57 +0100
|
||||||
|
|
||||||
ubuntu-dev-tools (0.91) lucid; urgency=low
|
ubuntu-dev-tools (0.91) lucid; urgency=low
|
||||||
|
|
||||||
* mk-sbuild-lv: drop deprecated keys from schroot.conf template
|
* mk-sbuild-lv: drop deprecated keys from schroot.conf template
|
||||||
|
@ -57,6 +57,14 @@ class SourcePackagePublishingHistory(object):
|
|||||||
return self.component
|
return self.component
|
||||||
|
|
||||||
def rmadison(distro, package, release):
|
def rmadison(distro, package, release):
|
||||||
|
# Map 'sid' and 'squeeze' to their releasenames else rmadison gets a python
|
||||||
|
# traceback back from the remote script
|
||||||
|
releasenames = {
|
||||||
|
'sid': 'unstable',
|
||||||
|
'squeeze': 'testing', # Needs updating after each Debian release
|
||||||
|
}
|
||||||
|
release = releasenames.get(release, release)
|
||||||
|
|
||||||
rmadison_cmd = subprocess.Popen(
|
rmadison_cmd = subprocess.Popen(
|
||||||
['rmadison', '-u', distro, '-a', 'source', '-s', release, package],
|
['rmadison', '-u', distro, '-a', 'source', '-s', release, package],
|
||||||
stdout = subprocess.PIPE)
|
stdout = subprocess.PIPE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user