diff -r 2b8bc4cfd6ee -r 23ce2b3fb03d hooks/workflow.py --- a/hooks/workflow.py Wed Dec 09 16:33:32 2009 +0100 +++ b/hooks/workflow.py Wed Dec 09 17:10:01 2009 +0100 @@ -276,7 +276,7 @@ def __call__(self): session = self._cw - nocheck = session.transaction_data.setdefault('skip-security', ()) + nocheck = session.transaction_data.get('skip-security', ()) if (self.eidfrom, 'in_state', self.eidto) in nocheck: # state changed through TrInfo insertion, so we already know it's ok return