diff --git a/debian/changelog b/debian/changelog index 30bbf63..7a5fade 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Wed, 06 Jun 2012 09:53:24 -0400 ubuntu-dev-tools (0.142) unstable; urgency=low diff --git a/pbuilder-dist b/pbuilder-dist index 347289c..4913c67 100755 --- a/pbuilder-dist +++ b/pbuilder-dist @@ -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: