~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branches 'mdw/knock' and 'mdw/ipv6' into bleeding
[tripe]
/
py
/
tripe.py.in
diff --git
a/py/tripe.py.in
b/py/tripe.py.in
index
0126dc5
..
a9be668
100644
(file)
--- a/
py/tripe.py.in
+++ b/
py/tripe.py.in
@@
-879,8
+879,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):