summaryrefslogtreecommitdiffstats
path: root/subcmds/forall.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/forall.py')
-rw-r--r--subcmds/forall.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/subcmds/forall.py b/subcmds/forall.py
index 52eb5e28..693949e2 100644
--- a/subcmds/forall.py
+++ b/subcmds/forall.py
@@ -205,14 +205,12 @@ without iterating through the remaining projects.
205 break 205 break
206 else: 206 else:
207 cn = None 207 cn = None
208 # pylint: disable=W0631
209 if cn and cn in _CAN_COLOR: 208 if cn and cn in _CAN_COLOR:
210 class ColorCmd(Coloring): 209 class ColorCmd(Coloring):
211 def __init__(self, config, cmd): 210 def __init__(self, config, cmd):
212 Coloring.__init__(self, config, cmd) 211 Coloring.__init__(self, config, cmd)
213 if ColorCmd(self.manifest.manifestProject.config, cn).is_on: 212 if ColorCmd(self.manifest.manifestProject.config, cn).is_on:
214 cmd.insert(cmd.index(cn) + 1, '--color') 213 cmd.insert(cmd.index(cn) + 1, '--color')
215 # pylint: enable=W0631
216 214
217 mirror = self.manifest.IsMirror 215 mirror = self.manifest.IsMirror
218 rc = 0 216 rc = 0