[Nym3-commit] r523 - trunk/nymbaron/Server

jr at conuropsis.org jr at conuropsis.org
Thu Jun 22 22:36:59 CEST 2006


Author: jr
Date: 2006-06-22 22:36:59 +0200 (Thu, 22 Jun 2006)
New Revision: 523

Modified:
   trunk/nymbaron/Server/User.py
Log:
- advanced_send doesn't need to return anything anymore


Modified: trunk/nymbaron/Server/User.py
===================================================================
--- trunk/nymbaron/Server/User.py	2006-06-22 20:30:12 UTC (rev 522)
+++ trunk/nymbaron/Server/User.py	2006-06-22 20:36:59 UTC (rev 523)
@@ -448,9 +448,7 @@
         content or automatically generated control message.
         #TODO add_status will be removed in the near future.
         Adds a status control message if the add_status argument is True. Also
-        updates the number of surbs
-        for the time being returns the result of send, or 2 if send was not
-        called. Will be removed when Main uses the success function mechanism"""
+        updates the number of surbs"""
         logger = logging.getLogger('nymbaron')
         self.load_queue()
         logger.debug('queue length (after loading): %d' % len(self.queue))
@@ -577,7 +575,6 @@
                     error code %d' % ec)
             sys.exit(2)
         #ouf
-        return ec
 
     def send(self, msg):
         """Sends a message to the nymholder through the mixminion network,



More information about the Nym3-commit mailing list