summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeView.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-09-04 09:56:41 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-09-04 09:56:41 +0200
commit351d82d208d57c629883e859030c290dc892313d (patch)
treed60e49178bc1635a20b766ff82af6be3064a3d54 /DistUpgrade/DistUpgradeView.py
parent501b2b01efb6fe2f3241510416222ae0f1f8da84 (diff)
downloadpython-apt-351d82d208d57c629883e859030c290dc892313d.tar.gz
* DistUpgrade/DistUpgradeControler.py:
- add the Debug::pkgDepCache::AutoInstall debug option * DistUpgrade/DistUpgradeView.py: - add missing import gettext * DistUpgrade/DistUpgradeViewGtk.py: - be more robust against gettext failure * DistUpgrade/cdromupgrade: - fix path
Diffstat (limited to 'DistUpgrade/DistUpgradeView.py')
-rw-r--r--DistUpgrade/DistUpgradeView.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/DistUpgrade/DistUpgradeView.py b/DistUpgrade/DistUpgradeView.py
index 45c5521b..27817b13 100644
--- a/DistUpgrade/DistUpgradeView.py
+++ b/DistUpgrade/DistUpgradeView.py
@@ -19,6 +19,8 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA
+from gettext import gettext as _
+
def FuzzyTimeToStr(sec):
" return the time a bit fuzzy (no seconds if time > 60 secs "
if sec > 60*60*24: