Skip to content

Commit d8c6c22

Browse files
committed
Don't show node setup when running quiet
1 parent 1efec5a commit d8c6c22

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

xdist/dsession.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,11 @@ def setstatus(self, spec, status, show=True):
344344
self.rewrite(self.getstatus())
345345

346346
def getstatus(self):
347-
parts = ["%s %s" % (spec.id, self._status[spec.id]) for spec in self._specs]
348-
return " / ".join(parts)
347+
if self.config.option.verbose >= 0:
348+
parts = ["%s %s" % (spec.id, self._status[spec.id]) for spec in self._specs]
349+
return " / ".join(parts)
350+
else:
351+
return "bringing up nodes..."
349352

350353
def rewrite(self, line, newline=False):
351354
pline = line + " " * max(self._lastlen - len(line), 0)

0 commit comments

Comments
 (0)