Mercurial > moin > 1.9
changeset 2071:aa761813d7bd
Silly changes to test CIA.
author | Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> |
---|---|
date | Thu, 31 May 2007 21:31:40 +0200 |
parents | 4e123eb32380 |
children | d347a0303be1 |
files | MoinMoin/jabber/main.py MoinMoin/jabber/xmlrpcbot.py |
diffstat | 2 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/jabber/main.py Thu May 31 21:23:16 2007 +0200 +++ b/MoinMoin/jabber/main.py Thu May 31 21:31:40 2007 +0200 @@ -30,7 +30,7 @@ raise SystemExit # TODO: actually accept options from the help string - + commands_from_xmpp = Queue() commands_to_xmpp = Queue() @@ -45,4 +45,4 @@ except KeyboardInterrupt, i: print i - sys.exit(0) \ No newline at end of file + sys.exit(0)
--- a/MoinMoin/jabber/xmlrpcbot.py Thu May 31 21:23:16 2007 +0200 +++ b/MoinMoin/jabber/xmlrpcbot.py Thu May 31 21:31:40 2007 +0200 @@ -29,6 +29,9 @@ the XMPP component""" def __init__(self, config, commands): + """ + @param commands: an output command queue + """ Thread.__init__(self) self.commands = commands @@ -40,7 +43,10 @@ It waits for notifications requests coming from wiki, creates command objects and puts them on a queue for - later processing by the XMPP component""" + later processing by the XMPP component + + @param commands: an input command queue + """ def __init__(self, config, commands): Thread.__init__(self)