Am 20.06.2010 um 15:10 schrieb yoav glazner:
Hi, I have a problem in my program, i can replacte it this way: <code> from elixir import * class Job(Entity): number = Field(Integer) def f(job): job.expire() job.number metadata.bind = "oracle://user:passw...@db" setup_all() job = Job.query.get(1) #number is primary key thread.start_new(f,(job,)) thread.start_new(f,(job,)) time.sleep(4) </code> ok now i get this: AttributeError: expired_attributes how should i approch this? (I know that if i put a lock on function "f" it doesn't happen...)
Please post the full traceback. Diez -- You received this message because you are subscribed to the Google Groups "SQLElixir" 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/sqlelixir?hl=en.
