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

[PATCH 2/3 master] Fix ifcfg logging message.



Embarassing to screw it up once you decide to use it.
---
 pyanaconda/network.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/network.py b/pyanaconda/network.py
index f1d37f9..a271d52 100644
--- a/pyanaconda/network.py
+++ b/pyanaconda/network.py
@@ -258,7 +258,7 @@ class NetworkDevice(IfcfgFile):
         ifcfglog.debug("%s:\n%s" % (self.path, self.fileContent()))
         ifcfglog.debug("NetworkDevice %s:\n%s" % (self.iface, self.__str__()))
         ifcfglog.debug("writeIfcfgFile %s to %s%s" % (self.iface, self.path,
-                                                  (self._dirty and "" or " not needed")))
+                                                  (not self._dirty and " not needed" or "")))
 
         if self._dirty:
             IfcfgFile.write(self)
-- 
1.7.2


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