summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-03-22 15:34:50 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2007-03-22 15:34:50 +0100
commit608943524b167fe6191750b739b0d230b549638c (patch)
tree302309712b6fd4db7de739b1a34f57d39d9fc51c
parent0b8033d96e6144f8bc05583be0b2d1743f3c73a6 (diff)
downloadpython-apt-608943524b167fe6191750b739b0d230b549638c.tar.gz
* fix gettext import (LP#92764)
-rw-r--r--apt/package.py2
-rw-r--r--debian/changelog1
2 files changed, 3 insertions, 0 deletions
diff --git a/apt/package.py b/apt/package.py
index fec438c0..1f373ad3 100644
--- a/apt/package.py
+++ b/apt/package.py
@@ -24,6 +24,8 @@ import sys
import random
import string
+from gettext import gettext as _
+
class BaseDependency(object):
" a single dependency "
def __init__(self, name, rel, ver, pre):
diff --git a/debian/changelog b/debian/changelog
index 05efcd08..4950be51 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ python-apt (0.6.20ubuntu14) feisty; urgency=low
* aptsources/distro.py:
- fix typo (LP#84009)
+ * fix gettext import (LP#92764)
--