diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-01-11 18:36:24 +0100 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-01-11 18:36:24 +0100 |
| commit | 31cdfa2e20361f76f6e011bbcdad19f9daa1f58f (patch) | |
| tree | 87234bdd7a48bf5a4ef5a4a142601e9fbe416bb2 | |
| parent | 0cb387c7aa2f4b873bbd9202c875e66774b8918e (diff) | |
| download | python-apt-31cdfa2e20361f76f6e011bbcdad19f9daa1f58f.tar.gz | |
aptsources/distro.py: No deprecated form of raise statement
| -rw-r--r-- | aptsources/distro.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/aptsources/distro.py b/aptsources/distro.py index a94d88ef..5e65284d 100644 --- a/aptsources/distro.py +++ b/aptsources/distro.py @@ -81,8 +81,8 @@ class Distribution: self.source_template = template break if self.source_template == None: - raise (NoDistroTemplateException, - "Error: could not find a distribution template") + raise NoDistroTemplateException("Error: could not find a distribution" + " template") # find main and child sources media = [] |
