changeset 14416:253bda94372e

graphlog: remove unused arg from _wrapcmd
author Idan Kamara <idankk86@gmail.com>
date Mon, 23 May 2011 23:22:47 +0300
parents c238b12a1ed4
children 25137d99a5ed
files hgext/graphlog.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/graphlog.py	Mon May 23 23:09:00 2011 +0300
+++ b/hgext/graphlog.py	Mon May 23 23:22:47 2011 +0300
@@ -383,11 +383,11 @@
 
 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']: