diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2013-04-30 18:39:37 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2013-04-30 18:39:37 +0200 |
| commit | c457cd70fadceec1109047fd9403608fa4da5a76 (patch) | |
| tree | 6086e6b91ebe5a2c3d09af74635b269d3740fa8e | |
| parent | 9a9f4df06efc1b9dc242c73ea5e6cf44de8a0fb0 (diff) | |
| download | python-apt-c457cd70fadceec1109047fd9403608fa4da5a76.tar.gz | |
* aptsources/distro.py:
- include the missing ID in the NoDistroTemplateException() error,
thanks to Brian Murray
| -rw-r--r-- | aptsources/distro.py | 5 | ||||
| -rw-r--r-- | debian/changelog | 8 |
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 ] |
