~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
svc/connect.in (Pinger.kill): Don't assume the peer exists.
[tripe]
/
svc
/
connect.in
diff --git
a/svc/connect.in
b/svc/connect.in
index
e3a5022
..
feb79ea
100644
(file)
--- a/
svc/connect.in
+++ b/
svc/connect.in
@@
-528,7
+528,8
@@
class Pinger (T.Coroutine):
def kill(me, peername):
"""Remove PEER from the peers being watched by the Pinger."""
- del me._peers[peername]
+ try: del me._peers[peername]
+ except KeyError: pass
return me
def rescan(me, startup):