diff options
author | David Cantrell <dcantrell@redhat.com> | 2009-10-16 17:09:59 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-10-19 14:31:36 -1000 |
commit | 71d840fd7c664ce0ef73a67b8c1d2d2b36fef5e7 (patch) | |
tree | ad8e4da9d4272a7255fc656d76dcd5c6ec851975 /yuminstall.py | |
parent | 671b904efe1a2df065c2a142b2e295eb95a2342f (diff) | |
download | anaconda-71d840fd7c664ce0ef73a67b8c1d2d2b36fef5e7.tar.gz anaconda-71d840fd7c664ce0ef73a67b8c1d2d2b36fef5e7.tar.xz anaconda-71d840fd7c664ce0ef73a67b8c1d2d2b36fef5e7.zip |
'Packages completed' string should use P_() instead of N_().
Prevents this:
Traceback (most recent call first):
File "/tmp/updates/yuminstall.py", line 214, in callback
self.numpkgs)
TypeError: <lambda>() takes exactly 1 argument (3 given)
Diffstat (limited to 'yuminstall.py')
-rw-r--r-- | yuminstall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yuminstall.py b/yuminstall.py index cb30642dd..512042ca6 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -207,7 +207,7 @@ class AnacondaCallback: self.doneFiles += len(hdr[rpm.RPMTAG_BASENAMES]) if self.donepkgs <= self.numpkgs: - self.progress.set_text(N_("Packages completed: " + self.progress.set_text(P_("Packages completed: " "%(donepkgs)d of %(numpkgs)d", "Packages completed: " "%(donepkgs)d of %(numpkgs)d", |