X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/blobdiff_plain/db11df9356902bc290083a54e895cdca5f7bf1e3..47912108f4e8eda5ae67372925f3b86e46798f6c:/svc/connect.in diff --git a/svc/connect.in b/svc/connect.in index e3a50223..feb79ea8 100644 --- 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):