[PATCH 05 of 10] color: drop unnecessary global statement

Simon Heimberg simohe at besonet.ch
Thu Mar 21 20:20:55 CDT 2013


# HG changeset patch
# User Simon Heimberg <simohe at besonet.ch>
# Date 1363886209 -3600
# Node ID 961866d514b1fd4a6cdc806df185164a6e3014fc
# Parent  67fbcd9146e125f8f2953e02f455e329a6328fb5
color: drop unnecessary global statement

diff -r 67fbcd9146e1 -r 961866d514b1 hgext/color.py
--- a/hgext/color.py	Don Mär 21 18:16:49 2013 +0100
+++ b/hgext/color.py	Don Mär 21 18:16:49 2013 +0100
@@ -379,7 +379,6 @@
     return repo.ui.label(thing, label)
 
 def uisetup(ui):
-    global _terminfo_params
     if ui.plain():
         return
     def colorcmd(orig, ui_, opts, cmd, cmdfunc):


More information about the Mercurial-devel mailing list