Patchwork [in,crew] blackbox: fix a case of name capture

login
register
mail settings
Submitter Bryan O'Sullivan
Date April 18, 2013, 7:55 p.m.
Message ID <5b318c60312cddae7d25.1366314929@australite.local>
Download mbox | patch
Permalink /patch/1435/
State Accepted
Commit 63a783d1ac852d60e60669b2f8551a9b26de2947
Headers show

Comments

Bryan O'Sullivan - April 18, 2013, 7:55 p.m.
# HG changeset patch
# User Bryan O'Sullivan <bryano@fb.com>
# Date 1366314891 25200
#      Thu Apr 18 12:54:51 2013 -0700
# Node ID 5b318c60312cddae7d2573f3c8f180bc9fb56c9f
# Parent  2e5476980a57657e7ed252c56b62a289031530ca
blackbox: fix a case of name capture

Patch

diff --git a/hgext/blackbox.py b/hgext/blackbox.py
--- a/hgext/blackbox.py
+++ b/hgext/blackbox.py
@@ -36,7 +36,7 @@  def wrapui(ui):
     class blackboxui(ui.__class__):
         @util.propertycache
         def track(self):
-            return ui.configlist('blackbox', 'track', ['*'])
+            return self.configlist('blackbox', 'track', ['*'])
 
         def log(self, event, *msg, **opts):
             global lastblackbox