[PATCH 10/13] Fix arguments for warn()

Matthew W. S. Bell matthew at bells23.org.uk
Sat Apr 25 18:18:35 UTC 2009


From: Matthew W. S. Bell <mentor at engelbert.(none)>


Signed-off-by: Matthew W. S. Bell <matthew at bells23.org.uk>
---
 src/netconf/ifaces/dhcp/dhcp3_client.py |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/netconf/ifaces/dhcp/dhcp3_client.py b/src/netconf/ifaces/dhcp/dhcp3_client.py
index c25168d..a0762c9 100644
--- a/src/netconf/ifaces/dhcp/dhcp3_client.py
+++ b/src/netconf/ifaces/dhcp/dhcp3_client.py
@@ -328,9 +328,10 @@ class dhclient3Proxy(logger.Mixin):
         self._manip = manip
 
         if os.path.exists(dhclient3Proxy._PIDFILE % {'iface':self._iface}):
-            self._log.warn('PID file %s still exists,' \
-                           % dhclient3Proxy._PIDFILE,
-                           'attempting to kill the process')
+            self._log.warn('PID file %s still exists, ' \
+                           'attempting to kill the process'
+                           % dhclient3Proxy._PIDFILE
+                           )
             self.stop(cmd, manip, lambda ignore_result: None, verbose)
 
         argv = dhclient3Proxy._DHCLIENT_COMMAND % \
-- 
1.6.2.4




More information about the netconf-devel mailing list