Patchwork [05,of,10] color: drop unnecessary global statement

login
register
mail settings
Submitter Simon Heimberg
Date March 22, 2013, 1:20 a.m.
Message ID <961866d514b1fd4a6cdc.1363915255@lapsi.heimberg.home>
Download mbox | patch
Permalink /patch/1162/
State Accepted
Commit 8843182f3514678990060c607eab61071386c526
Headers show

Comments

Simon Heimberg - March 22, 2013, 1:20 a.m.
# HG changeset patch
# User Simon Heimberg <simohe@besonet.ch>
# Date 1363886209 -3600
# Node ID 961866d514b1fd4a6cdc806df185164a6e3014fc
# Parent  67fbcd9146e125f8f2953e02f455e329a6328fb5
color: drop unnecessary global statement

Patch

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):