summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aptsources/distro.py5
-rw-r--r--debian/changelog8
2 files changed, 11 insertions, 2 deletions
diff --git a/aptsources/distro.py b/aptsources/distro.py
index ca87a919..15b93823 100644
--- a/aptsources/distro.py
+++ b/aptsources/distro.py
@@ -84,8 +84,9 @@ class Distribution(object):
self.source_template = template
break
if self.source_template is None:
- raise NoDistroTemplateException("Error: could not find a "
- "distribution template")
+ raise NoDistroTemplateException(
+ "Error: could not find a distribution template for %s/%s" %
+ (self.id, self.codename))
# find main and child sources
media = []
diff --git a/debian/changelog b/debian/changelog
index 85b7e3bf..2bea7d52 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-apt (0.8.8.3) UNRELEASED; urgency=low
+
+ * aptsources/distro.py:
+ - include the missing ID in the NoDistroTemplateException() error,
+ thanks to Brian Murray
+
+ -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 30 Apr 2013 18:37:24 +0200
+
python-apt (0.8.8.2) unstable; urgency=low
[ David Prévot ]