From nextgens at freenetproject.org Sat Mar 3 14:44:37 2007 From: nextgens at freenetproject.org (nextgens at freenetproject.org) Date: Sat, 3 Mar 2007 14:44:37 +0000 (UTC) Subject: [Pyfreenet] r11942 - trunk/apps/pyFreenet/fcp Message-ID: <20070303144437.89EB19BCF9@emu.freenetproject.org> Author: nextgens Date: 2007-03-03 14:44:36 +0000 (Sat, 03 Mar 2007) New Revision: 11942 Modified: trunk/apps/pyFreenet/fcp/put.py Log: pyfcp: we ought to set MaxRetries=-1 by default Modified: trunk/apps/pyFreenet/fcp/put.py =================================================================== --- trunk/apps/pyFreenet/fcp/put.py 2007-03-01 13:15:39 UTC (rev 11941) +++ trunk/apps/pyFreenet/fcp/put.py 2007-03-03 14:44:36 UTC (rev 11942) @@ -98,7 +98,8 @@ "persistence" : "connection", "async" : False, "priority" : 3, - } + "MaxRetries" : -1, + } # process command line switches try: From zothar at freenetproject.org Sun Mar 4 17:37:52 2007 From: zothar at freenetproject.org (zothar at freenetproject.org) Date: Sun, 4 Mar 2007 17:37:52 +0000 (UTC) Subject: [Pyfreenet] r11957 - trunk/apps/pyFreenet Message-ID: <20070304173752.1A8219BC2F@emu.freenetproject.org> Author: zothar Date: 2007-03-04 17:37:51 +0000 (Sun, 04 Mar 2007) New Revision: 11957 Modified: trunk/apps/pyFreenet/minibot.py Log: refbot: Cut down the console window verbosity a tad by commenting out some extra debugging info. Modified: trunk/apps/pyFreenet/minibot.py =================================================================== --- trunk/apps/pyFreenet/minibot.py 2007-03-04 17:21:58 UTC (rev 11956) +++ trunk/apps/pyFreenet/minibot.py 2007-03-04 17:37:51 UTC (rev 11957) @@ -808,7 +808,7 @@ log("** cmd: IGNORING HELPLESS: %s" % (cmd)) return - log("** cmd=%s" % repr(cmd)) + #log("** cmd=%s" % repr(cmd)) try: meth = getattr(self, "cmd_" + cmd) From zothar at freenetproject.org Sun Mar 4 18:44:27 2007 From: zothar at freenetproject.org (zothar at freenetproject.org) Date: Sun, 4 Mar 2007 18:44:27 +0000 (UTC) Subject: [Pyfreenet] r11959 - trunk/apps/pyFreenet Message-ID: <20070304184427.234469C0BE@emu.freenetproject.org> Author: zothar Date: 2007-03-04 18:44:26 +0000 (Sun, 04 Mar 2007) New Revision: 11959 Modified: trunk/apps/pyFreenet/refbot.py Log: refbot: If configured for privmsg only exchanges with humans, exchange with a reply via privmsg if human gives their ref in public, rather than complaining in public. (Thanks to nextgens for the suggestion) Modified: trunk/apps/pyFreenet/refbot.py =================================================================== --- trunk/apps/pyFreenet/refbot.py 2007-03-04 18:38:22 UTC (rev 11958) +++ trunk/apps/pyFreenet/refbot.py 2007-03-04 18:44:26 UTC (rev 11959) @@ -17,7 +17,6 @@ import sys import threading import time -import time import traceback import urllib2 @@ -1196,8 +1195,7 @@ replyfunc("Sorry, I'm configured to only trade refs with other bots. Send me the \"help\" command to learn how to run your own ref swapping bot.") return True if( self.bot.privmsg_only_enabled and not is_from_privmsg ): - replyfunc("Sorry, I'm configured to only trade refs using private messages. Use the /msg command to send me a private message, after registering with nickserv if needed (i.e. /ns register ).") - return True + replyfunc = self.privmsg if(cmd == self.bot.refurl): self.privmsg("error - already have my own ref <%s>" % (cmd)) return True @@ -1229,8 +1227,7 @@ replyfunc("Sorry, I'm configured to only trade refs with other bots. Send me the \"help\" command to learn how to run your own ref swapping bot.") return if( self.bot.privmsg_only_enabled and not is_from_privmsg ): - replyfunc("Sorry, I'm configured to only trade refs using private messages. Use the /msg command to send me a private message, after registering with nickserv if needed (i.e. /ns register ).") - return + replyfunc = self.privmsg if len(args) != 1: self.privmsg( "Invalid argument count", From jeremyamy at verizon.net Sun Mar 4 23:06:00 2007 From: jeremyamy at verizon.net (Tolrud) Date: Sun, 04 Mar 2007 23:06:00 -0000 Subject: [Pyfreenet] unsubscribe Message-ID: <001401c75eb1$9d3cfa70$2f01a8c0@jeremy> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://emu.freenetproject.org/pipermail/pyfreenet/attachments/20070304/58301bff/attachment.htm