]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
iputil.py: fix test failures due to calling log.err on a harmless error. iputil-regression
authorDaira Hopwood <david-sarah@jacaranda.org>
Sun, 7 Jul 2013 16:43:18 +0000 (17:43 +0100)
committerDaira Hopwood <david-sarah@jacaranda.org>
Sun, 7 Jul 2013 16:43:18 +0000 (17:43 +0100)
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
src/allmydata/util/iputil.py

index 2f7db051b791d2355afad9cbdbbd9f0779b34780..377012c4d8bf99a232c980ee2d620015eb58fe69 100644 (file)
@@ -133,8 +133,7 @@ def get_local_ip_for(target):
     except socket.error:
         # no route to that host
         localip = None
-    d = port.stopListening()
-    d.addErrback(log.err)
+    port.stopListening()
     return localip