pbuilder-dist: Don't try to enable -updates for the current codename

referring to Debian testing, either (LP: #1011870)
This commit is contained in:
Stefano Rivera 2012-06-19 16:42:59 +02:00
parent 3eff164421
commit c0708dd41b
2 changed files with 5 additions and 1 deletions

4
debian/changelog vendored
View File

@ -16,6 +16,10 @@ ubuntu-dev-tools (0.143) UNRELEASED; urgency=low
[ Lars Düsing ]
* Corrected brackets in man-page for sponsor-patch.
[ Stefano Rivera ]
* pbuilder-dist: Don't try to enable -updates for the current codename
referring to Debian testing, either (LP: #1011870)
-- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Wed, 06 Jun 2012 09:53:24 -0400
ubuntu-dev-tools (0.142) unstable; urgency=low

View File

@ -275,7 +275,7 @@ class PbuilderDist:
self.enable_security = False
self.enable_updates = False
self.enable_proposed = False
elif codename == 'testing':
elif codename in (debian_info.testing(), 'testing'):
self.enable_updates = False
if self.enable_security: