This is the diff:

--- datacontroller.py.orig      Fri Feb 24 21:43:47 2006
+++ datacontroller.py   Fri Mar 17 11:30:22 2006
@@ -72,7 +72,10 @@
             # is join data present in the form?
             if jname in data.keys():
                 # keep the data and update joins after object's update
-                jdata.append((join, data.pop(jname)))
+                jpop = data.pop(jname)
+                if type(jpop) is not type([]):
+                    jpop = [jpop]
+                jdata.append((join, jpop))
         return data, jdata


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to