From: Matthew W. S. Bell <men...@engelbert.(none)>

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

diff --git a/src/netconf/ifaces/dhcp/dhcp3_client.py 
b/src/netconf/ifaces/dhcp/dhcp3_client.py
index a0762c9..1d00e40 100644
--- a/src/netconf/ifaces/dhcp/dhcp3_client.py
+++ b/src/netconf/ifaces/dhcp/dhcp3_client.py
@@ -85,14 +85,11 @@ class dhclient3Reactor(BaseBufferedFdReactor):
             if callable(fn):
                 ret = fn(data)
                 result = dhclient3Reactor.DHCPResult(reason)
-                self._log.debug('calling %s with result %s...' % 
(self._cb_result,
-                                                                  result))
-                self._cb_result(result)
             else:
                 result = dhclient3Reactor.UnknownReason(reason)
-                self._log.debug('calling %s with result %s...' % 
(self._cb_result,
-                                                                  result))
-                self._cb_result(result)
+            self._log.debug('calling %s with result %s...' % (self._cb_result,
+                                                              result))
+            self._cb_result(result)
 
     @public
     def __call__(self, op, fd, core):
-- 
1.6.2.4


_______________________________________________
netconf-devel mailing list
netconf-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/netconf-devel

Reply via email to