[PATCH f13-branch 1/2] Fix various syntax errors

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

 



Courtesey of pylint.
---
 storage/__init__.py     |    2 +-
 storage/partitioning.py |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index c78f127..0cbf2e3 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -96,7 +96,7 @@ def storageInitialize(anaconda):
                 anaconda.intf.messageWindow(_("Unknown Device"),
                     _("The installation source given by device %s "
                       "could not be found.  Please check your "
-                      "parameters and try again.") % devspec,
+                      "parameters and try again.") % anaconda.protected,
                     type="custom", custom_buttons = [_("_Exit installer")])
                 sys.exit(1)
     else:
diff --git a/storage/partitioning.py b/storage/partitioning.py
index a96bd9b..887ecbb 100644
--- a/storage/partitioning.py
+++ b/storage/partitioning.py
@@ -1133,8 +1133,8 @@ class Request(object):
 
     def __str__(self):
         s = ("%(type)s instance --\n"
-             "id = %(id)s  name = %(name)s  growable = %(growable)\n"
-             "base = %(base)d  growth = %(grow)d  max_grow = %(max_grow)d\n"
+             "id = %(id)s  name = %(name)s  growable = %(growable)s\n"
+             "base = %(base)d  growth = %(growth)d  max_grow = %(max_grow)d\n"
              "done = %(done)s" %
              {"type": self.__class__.__name__, "id": self.id,
               "name": self.partition.name, "growable": self.growable,
-- 
1.7.0.1

_______________________________________________
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