[Nym3-commit] r269 - trunk/nym3/Client
jr at conuropsis.org
jr at conuropsis.org
Sun May 22 02:15:55 CEST 2005
Author: jr
Date: 2005-05-22 02:15:55 +0200 (Sun, 22 May 2005)
New Revision: 269
Modified:
trunk/nym3/Client/Main.py
Log:
minor changes to make decode_message_references and build_index compatible
Modified: trunk/nym3/Client/Main.py
===================================================================
--- trunk/nym3/Client/Main.py 2005-05-22 00:11:56 UTC (rev 268)
+++ trunk/nym3/Client/Main.py 2005-05-22 00:15:55 UTC (rev 269)
@@ -154,7 +154,7 @@
syn = synset[22: 22 + synlen]
synset = synset[22 + synlen:]
try:
- index[Mail.XNymSeq(syn)] = mid
+ index[str(Mail.XNymSeq(syn))] = mid
except:
#there was a problem determining the XNymSeq: bug
raise Exception("unable to determine XNymSeq")
@@ -172,8 +172,8 @@
a list of keys and a hashtable.
a reference is either a mid or a string of the format <key>:<val>,
where key is in keys and does not contain the caracter ':'.
- h is a hashtable of hashtable: h[<key>][<int>] contains the mid
- corresponding to a given int for one key."""
+ h is a hashtable of hashtable: h[<key>][<str>] contains the mid
+ corresponding to a given str for one key."""
l = []
for e in refs:
if ':' not in e:
More information about the Nym3-commit
mailing list