syncpackage: Allow syncing to -proposed with --no-lp.

This commit is contained in:
Benjamin Drung 2011-10-12 00:51:59 +02:00
parent 05b3f16f58
commit bf5de3c686
2 changed files with 7 additions and 3 deletions

6
debian/changelog vendored
View File

@ -1,9 +1,13 @@
ubuntu-dev-tools (0.133) UNRELEASED; urgency=low
[ Stefano Rivera ]
* mk-sbuild: Only grant access to the admin group when it exists
(Closes: #642824)
-- Stefano Rivera <stefanor@debian.org> Sun, 25 Sep 2011 16:00:57 +0200
[ Benjamin Drung ]
* syncpackage: Allow syncing to -proposed with --no-lp.
-- Benjamin Drung <bdrung@debian.org> Wed, 12 Oct 2011 00:51:06 +0200
ubuntu-dev-tools (0.132) unstable; urgency=low

View File

@ -125,7 +125,7 @@ def sync_dsc(src_pkg, debian_dist, release, name, email, bugs, ubuntu_mirror,
new_ver = Version(src_pkg.dsc["Version"])
try:
ubuntu_source = get_ubuntu_srcpkg(src_pkg.source, release)
ubuntu_source = get_ubuntu_srcpkg(src_pkg.source, release.split("-")[0])
ubuntu_ver = Version(ubuntu_source.getVersion())
ubu_pkg = UbuntuSourcePackage(src_pkg.source, ubuntu_ver.full_version,
ubuntu_source.getComponent(),
@ -587,7 +587,7 @@ def main():
options.release = ubuntu.current_series.name
src_pkg = fetch_source_pkg(args[0], options.dist, options.debversion,
options.component, options.release,
options.component, options.release.split("-")[0],
options.debian_mirror)
blacklisted, comments = is_blacklisted(src_pkg.source)