# HG changeset patch # User Sylvain Thénault # Date 1260375001 -3600 # Node ID 23ce2b3fb03dae71856fde0631a0c5f4c9409f6b # Parent 2b8bc4cfd6ee1342f5dc723eaf22db5ae91ee830 don't use setdefault with a tuple as value, a set is expected 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