# HG changeset patch # User Laurent Peuch # Date 1568219468 -7200 # Node ID 1853c5e1315483bd8764c895fda7fbb500b9e44b # Parent 1a2c7d6397ec704f6dd96e53d329aa42e2a7ddde [fix] reference to underclared and unused variable kwargs diff -r 1a2c7d6397ec -r 1853c5e13154 cubicweb/web/views/undohistory.py --- a/cubicweb/web/views/undohistory.py Wed Sep 11 11:56:43 2019 +0200 +++ b/cubicweb/web/views/undohistory.py Wed Sep 11 18:31:08 2019 +0200 @@ -45,8 +45,7 @@ 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