summaryrefslogtreecommitdiffstats
path: root/subcmds/forall.py
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2012-10-25 09:51:06 -0700
committerGerrit Code Review <noreply-gerritcodereview@google.com>2012-10-25 09:51:07 -0700
commite4ed8f65f376009f70fab0e7978fdfc223f23a76 (patch)
tree00a9118857c613eefdd967d330bc5230ced01555 /subcmds/forall.py
parentfdb44479f8b99e7795021f1b8588a677dcf5fd51 (diff)
parent4f7bdea9d24c4eb52f83ada2b67b88ad67cb57a7 (diff)
downloadgit-repo-e4ed8f65f376009f70fab0e7978fdfc223f23a76.tar.gz
Merge "Add pylint configuration and instructions"
Diffstat (limited to 'subcmds/forall.py')
-rw-r--r--subcmds/forall.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/subcmds/forall.py b/subcmds/forall.py
index 2ece95ed..b633b7d4 100644
--- a/subcmds/forall.py
+++ b/subcmds/forall.py
@@ -143,14 +143,14 @@ terminal and are not redirected.
143 break 143 break
144 else: 144 else:
145 cn = None 145 cn = None
146 # pylint: disable-msg=W0631 146 # pylint: disable=W0631
147 if cn and cn in _CAN_COLOR: 147 if cn and cn in _CAN_COLOR:
148 class ColorCmd(Coloring): 148 class ColorCmd(Coloring):
149 def __init__(self, config, cmd): 149 def __init__(self, config, cmd):
150 Coloring.__init__(self, config, cmd) 150 Coloring.__init__(self, config, cmd)
151 if ColorCmd(self.manifest.manifestProject.config, cn).is_on: 151 if ColorCmd(self.manifest.manifestProject.config, cn).is_on:
152 cmd.insert(cmd.index(cn) + 1, '--color') 152 cmd.insert(cmd.index(cn) + 1, '--color')
153 # pylint: enable-msg=W0631 153 # pylint: enable=W0631
154 154
155 mirror = self.manifest.IsMirror 155 mirror = self.manifest.IsMirror
156 out = ForallColoring(self.manifest.manifestProject.config) 156 out = ForallColoring(self.manifest.manifestProject.config)