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 /aptsources/distro.py | |
| parent | 9a9f4df06efc1b9dc242c73ea5e6cf44de8a0fb0 (diff) | |
| download | python-apt-c457cd70fadceec1109047fd9403608fa4da5a76.tar.gz | |
* aptsources/distro.py:
- include the missing ID in the NoDistroTemplateException() error,
thanks to Brian Murray
Diffstat (limited to 'aptsources/distro.py')
| -rw-r--r-- | aptsources/distro.py | 5 |
1 files changed, 3 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 = [] |
