chiark
/
gitweb
/
~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
server/admin.c: Remove spurious `ping' in usage message.
[tripe]
/
svc
/
connect.in
diff --git
a/svc/connect.in
b/svc/connect.in
index 99dbd8af1ca8340e943999b7bdafa9f5ac5a3685..25c80b0fcc620ebe1d43d00a6d135acfc64f9889 100644
(file)
--- a/
svc/connect.in
+++ b/
svc/connect.in
@@
-526,7
+526,7
@@
class PingPeer (object):
'min-ping': '%.1fms' % me._min,
'max-ping': '%.1fms' % me._max,
'state': me._timer and 'idle' or 'check',
'min-ping': '%.1fms' % me._min,
'max-ping': '%.1fms' % me._max,
'state': me._timer and 'idle' or 'check',
- 'failures':
me._failures
}
+ 'failures':
str(me._failures)
}
@T._callback
def _time(me):
@T._callback
def _time(me):
@@
-842,7
+842,7
@@
def cmd_info(name):
for i in items:
try: v = d[i]
except KeyError: v = peer.get(i)
for i in items:
try: v = d[i]
except KeyError: v = peer.get(i)
- T.svcinfo('%s=%s' % (i, v))
+ T.svcinfo('%s=%s' % (i, v
.replace('\n', ' ')
))
def cmd_userpeer(user):
"""
def cmd_userpeer(user):
"""