On Apr 12, 2008, at 5:39 PM, iain duncan wrote:
> File "/home/xornot/www/booking/booking-wx/model.py", line 227, in > update_resource_obj > session.flush(resource_obj) > File > "/usr/lib/python2.4/site-packages/SQLAlchemy-0.4.3-py2.4.egg/ > sqlalchemy/orm/session.py", line 764, in flush > self.uow.flush(self, objects) > File > "/usr/lib/python2.4/site-packages/SQLAlchemy-0.4.3-py2.4.egg/ > sqlalchemy/orm/unitofwork.py", line 189, in flush > objset = util.Set([o._state for o in objects]) > TypeError: iteration over non-sequence > the "objects" parameter to session.flush() is currently a list, i.e. session.flush([resource_obj]) . --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---