Re: [PATCH] Fix syntax for passing a mapping to a translatable string (#576085).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/23/2010 03:10 PM, Chris Lumens wrote:
---
  storage/formats/fs.py |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 23f5d98..89e1348 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -519,7 +519,7 @@ class FS(DeviceFormat):

          if self._fsckFailed(rc):
              hdr = _("%(type)s filesystem check failure on %(device)s: ") % \
-                   (self.type, self.device,)
+                    {"type": self.type, "device": self.device}

              msg = self._fsckErrorMessage(rc)


Ack.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux