[Pyfreenet] r11416 - trunk/apps/pyFreenet

zothar at freenetproject.org zothar at freenetproject.org
Fri Dec 15 17:07:47 UTC 2006


Author: zothar
Date: 2006-12-15 17:07:46 +0000 (Fri, 15 Dec 2006)
New Revision: 11416

Modified:
   trunk/apps/pyFreenet/refbot.py
Log:
refbot: Fix the syntax error; should have tested before committing...

Modified: trunk/apps/pyFreenet/refbot.py
===================================================================
--- trunk/apps/pyFreenet/refbot.py	2006-12-15 16:57:53 UTC (rev 11415)
+++ trunk/apps/pyFreenet/refbot.py	2006-12-15 17:07:46 UTC (rev 11416)
@@ -314,7 +314,7 @@
         #    while 1:
         #        opts['bot2bot_announces'] = prompt("Enable cooperative bot announcements (requires bot-2-bot communication to be enabled)", "n")
         #        opts['bot2bot_announces'] = opts['bot2bot_announces'].lower();
-        #        if( opts['bot2bot_announces'] in [ 'y', 'n' ):
+        #        if( opts['bot2bot_announces'] in [ 'y', 'n' ] ):
         #            break;
         #        print "Invalid option '%s' - must be 'y' for yes or 'n' for no" % opts['bot2bot_announces']
 
@@ -322,7 +322,7 @@
             while 1:
                 opts['bot2bot_trades'] = prompt("Enable bot-2-bot ref trades (requires bot-2-bot communication to be enabled)", "n")
                 opts['bot2bot_trades'] = opts['bot2bot_trades'].lower();
-                if( opts['bot2bot_trades'] in [ 'y', 'n' ):
+                if( opts['bot2bot_trades'] in [ 'y', 'n' ] ):
                     break;
                 print "Invalid option '%s' - must be 'y' for yes or 'n' for no" % opts['bot2bot_trades']
     




More information about the Pyfreenet mailing list