diff -r 76b3cd5d4f31 -r 01152fffd593 common/mixins.py --- a/common/mixins.py Mon Apr 06 12:37:45 2009 +0200 +++ b/common/mixins.py Tue Apr 07 09:30:23 2009 +0200 @@ -193,6 +193,7 @@ """change the entity's state according to a state defined in given parameters """ + assert not isinstance(stateeid, basestring), 'change_state wants a state eid' if trcomment: self.req.set_shared_data('trcomment', trcomment) if trcommentformat: