iGL> @contextmanager
iGL> def create_table( self, name, **kw ):
iGL> _table = xTable( name, self, **kw )
iGL> try:
iGL> setattr(_table,'triger', True)
iGL> yield _table
iGL> except Exception, why:
iGL> print 'setter fails: %s' % str(why)
iGL> del _table
iGL> else:
iGL> delattr(_table, 'triger') #don't really creating... will wait
"triger" -> "trigger"?
Skip
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" 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/sqlalchemy
-~----------~----~----~----~------~----~------~--~---