diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-12-19 13:35:59 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-12-19 13:35:59 +0100 |
| commit | 375920c5172a5f60acba02b73c3b32ffbccc8ab2 (patch) | |
| tree | a1d1aff85af6453640168030c9b2c772f714689f /aptsources/distro.py | |
| parent | 10ec8cd5b5614606b3db9fdc3d6e248984048f0e (diff) | |
| download | python-apt-375920c5172a5f60acba02b73c3b32ffbccc8ab2.tar.gz | |
pyflakes cleanup, use apt_pkg.gettext in aptsources too
Diffstat (limited to 'aptsources/distro.py')
| -rw-r--r-- | aptsources/distro.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/aptsources/distro.py b/aptsources/distro.py index f777a4ea..b4056b27 100644 --- a/aptsources/distro.py +++ b/aptsources/distro.py @@ -30,9 +30,7 @@ import sys from xml.etree.ElementTree import ElementTree import gettext - -def _(s): - return gettext.dgettext("python-apt", s) +from apt_pkg import gettext as _ class NoDistroTemplateException(Exception): |
