# HG changeset patch # User Idan Kamara # Date 2011-05-23 20:22:47 # Node ID 253bda94372e30aef5e2dc6848f77166f5c2f1f9 # Parent c238b12a1ed45da63d202d88e5c41f90e356e39b graphlog: remove unused arg from _wrapcmd diff --git a/hgext/graphlog.py b/hgext/graphlog.py --- a/hgext/graphlog.py +++ b/hgext/graphlog.py @@ -383,11 +383,11 @@ def gincoming(ui, repo, source="default" def uisetup(ui): '''Initialize the extension.''' - _wrapcmd(ui, 'log', commands.table, graphlog) - _wrapcmd(ui, 'incoming', commands.table, gincoming) - _wrapcmd(ui, 'outgoing', commands.table, goutgoing) + _wrapcmd('log', commands.table, graphlog) + _wrapcmd('incoming', commands.table, gincoming) + _wrapcmd('outgoing', commands.table, goutgoing) -def _wrapcmd(ui, cmd, table, wrapfn): +def _wrapcmd(cmd, table, wrapfn): '''wrap the command''' def graph(orig, *args, **kwargs): if kwargs['graph']: