summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-10-02 14:52:56 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-10-02 14:52:56 +0200
commit6a04c04bbe1639c732a250ab003d6e2b29bffc90 (patch)
tree7c85c13c04814079bc7c8b247fe47df6fe0c27ab
parent4f287044ee83f8e77dc3136d10cef07d878ba1c2 (diff)
downloadpython-apt-6a04c04bbe1639c732a250ab003d6e2b29bffc90.tar.gz
* DistUpgrade/DistUpgradeControler.py:
- fix more incorrect _() usage
-rw-r--r--DistUpgrade/DistUpgradeControler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/DistUpgrade/DistUpgradeControler.py b/DistUpgrade/DistUpgradeControler.py
index 1d714325..52f4f785 100644
--- a/DistUpgrade/DistUpgradeControler.py
+++ b/DistUpgrade/DistUpgradeControler.py
@@ -75,7 +75,7 @@ class AptCdrom(object):
_("There was a error adding the CD, the "
"upgrade will abort. Please report this as "
"a bug if this is a valid Ubuntu CD.\n\n"
- "The error message was:\n'%s'" % e))
+ "The error message was:\n'%s'") % e)
return False
logging.debug("AptCdrom.add() returned: %s" % res)
return res
@@ -613,7 +613,7 @@ class DistUpgradeControler(object):
uri = match.group(1) + path
apt_pkg.GetPkgAcqFile(fetcher, uri=uri,
size=ver.Size,
- descr=_("Fetching backport of '%s'" % pkgname))
+ descr=_("Fetching backport of '%s'") % pkgname)
res = fetcher.Run()
if res != fetcher.ResultContinue:
# ick! error ...