Author: whit
Date: 2007-07-31 19:50:39 -0400 (Tue, 31 Jul 2007)
New Revision: 7914

Modified:
   TaggerStore/trunk/taggerstore/serialize.py
Log:

make serialize more robust
  



Modified: TaggerStore/trunk/taggerstore/serialize.py
===================================================================
--- TaggerStore/trunk/taggerstore/serialize.py  2007-07-31 22:45:52 UTC (rev 
7913)
+++ TaggerStore/trunk/taggerstore/serialize.py  2007-07-31 23:50:39 UTC (rev 
7914)
@@ -6,4 +6,5 @@
     pass
 
 def entryid_list(result):
-    return [t[0] for t in result]
+    index = result.selectionF.index('entry_id')
+    return [t[index] for t in result]



--
Archive: 
http://www.openplans.org/projects/opencore/lists/openplans-svn/archive/2007/07/1185925839652
To unsubscribe send an email with subject unsubscribe to [EMAIL PROTECTED]  
Please contact [EMAIL PROTECTED] for questions.

Reply via email to