Commit 13bed8f2 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

[fix] reference to underclared and unused variable kwargs

branch : 3.26
parent 1a2c7d6397ec
......@@ -45,8 +45,7 @@ class undoable_action(Predicate):
self.action_type = action_type
def __str__(self):
return '%s(%s)' % (self.__class__.__name__, ', '.join(
"%s=%v" % (str(k), str(v)) for k, v in kwargs.items() ))
return '%s()' % (self.__class__.__name__)
def __call__(self, cls, req, tx_action=None, **kwargs):
# tx_action is expected to be a transaction.AbstractAction
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment