projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5f97cd
)
iputil.py: fix test failures due to calling log.err on a harmless error.
iputil-regression
author
Daira Hopwood
<david-sarah@jacaranda.org>
Sun, 7 Jul 2013 16:43:18 +0000
(17:43 +0100)
committer
Daira 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
patch
|
blob
|
history
diff --git
a/src/allmydata/util/iputil.py
b/src/allmydata/util/iputil.py
index 2f7db051b791d2355afad9cbdbbd9f0779b34780..377012c4d8bf99a232c980ee2d620015eb58fe69 100644
(file)
--- a/
src/allmydata/util/iputil.py
+++ b/
src/allmydata/util/iputil.py
@@
-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