~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
server/: Institute `address family table'; contemplate multiple sockets.
[tripe]
/
py
/
tripe.py.in
diff --git
a/py/tripe.py.in
b/py/tripe.py.in
index
5562d7b
..
29911b0
100644
(file)
--- a/
py/tripe.py.in
+++ b/
py/tripe.py.in
@@
-878,8
+878,10
@@
class TripeCommandDispatcher (TripeConnection):
*['PING'] +
_kwopts(kw, ['timeout']) +
[peer]))
*['PING'] +
_kwopts(kw, ['timeout']) +
[peer]))
- def port(me):
- return _oneline(me.command('PORT', filter = _tokenjoin))
+ def port(me, af = None):
+ return _oneline(me.command('PORT',
+ *((af is not None) and [af] or []),
+ filter = _tokenjoin))
def quit(me):
return _simple(me.command('QUIT'))
def reload(me):
def quit(me):
return _simple(me.command('QUIT'))
def reload(me):