ubuntu-build: Default to DEV-proposed in batch mode. Thanks Scott

Kitterman(LP: #1088010)
This commit is contained in:
Stefano Rivera 2012-12-12 17:25:20 +02:00
parent 5f3e359ab6
commit 8faeb46334
2 changed files with 6 additions and 2 deletions

2
debian/changelog vendored
View File

@ -19,6 +19,8 @@ ubuntu-dev-tools (0.146) UNRELEASED; urgency=low
- Don't ignore -k (LP: #1083688)
- Check that dput is installed when uploading, thanks H.-Dirk Schmitt
(LP: #1086342)
* ubuntu-build: Default to DEV-proposed in batch mode. Thanks Scott
Kitterman(LP: #1088010)
-- Julian Taylor <jtaylor@ubuntu.com> Sat, 24 Nov 2012 21:07:01 +0100

View File

@ -217,8 +217,10 @@ def main():
# filter out duplicate and invalid architectures
archs.intersection_update(valid_archs)
release = (options.series or
Distribution('ubuntu').getDevelopmentSeries().name)
release = options.series
if not release:
release = (Distribution('ubuntu').getDevelopmentSeries().name
+ '-proposed')
try:
(release, pocket) = split_release_pocket(release)
except PocketDoesNotExistError, error: