[Nym3-commit] r278 - in trunk/nym3: Client Server
jr at conuropsis.org
jr at conuropsis.org
Wed Jun 1 12:59:37 CEST 2005
Author: jr
Date: 2005-06-01 12:59:35 +0200 (Wed, 01 Jun 2005)
New Revision: 278
Modified:
trunk/nym3/Client/Main.py
trunk/nym3/Server/User.py
Log:
add TODOs
Modified: trunk/nym3/Client/Main.py
===================================================================
--- trunk/nym3/Client/Main.py 2005-05-31 20:47:19 UTC (rev 277)
+++ trunk/nym3/Client/Main.py 2005-06-01 10:59:35 UTC (rev 278)
@@ -240,6 +240,8 @@
synlen = Message.strToIntBE(clear[20:22])
midlist.append(mid)
clear = clear[22 + synlen:]
+ #debugging cruft. TODO remove?
+ print "number of received syn: %d" % len(midlist)
account.add_synset(midlist, com.bf, com.synSet)
elif (com.ct() == SToCCODE['Msg']):
account.add_msg(com.mid, com.msg)
Modified: trunk/nym3/Server/User.py
===================================================================
--- trunk/nym3/Server/User.py 2005-05-31 20:47:19 UTC (rev 277)
+++ trunk/nym3/Server/User.py 2005-06-01 10:59:35 UTC (rev 278)
@@ -214,6 +214,7 @@
self.load_index()
ret = []
+ #TODO if the mid can't be found in the index tab, what do we do?
if mid == Mail.oldestMid: ret = self.index.keys()
else:
midtime = self.index[mid]['time']
More information about the Nym3-commit
mailing list