# HG changeset patch # User Sylvain Thénault # Date 1330340004 -3600 # Node ID 6c7cad317e60a779963fd4dcfd05649704f2555e # Parent 18893bb969d215519c2c89bd6e57a92ee8d8cd58 [undo view] fix wrong set operator diff -r 18893bb969d2 -r 6c7cad317e60 web/views/undohistory.py --- a/web/views/undohistory.py Mon Feb 27 11:51:09 2012 +0100 +++ b/web/views/undohistory.py Mon Feb 27 11:53:24 2012 +0100 @@ -41,7 +41,7 @@ # XXX FIXME : this selector should be completed to allow selection on the # entity or relation types and public / private. def __init__(self, action_type='CUDAR'): - assert not set(action_type) & set('CUDAR') + assert not set(action_type) - set('CUDAR') self.action_type = action_type def __str__(self):