Don't show node setup when running quiet
This commit is contained in:
@@ -344,8 +344,11 @@ class TerminalDistReporter(object):
|
|||||||
self.rewrite(self.getstatus())
|
self.rewrite(self.getstatus())
|
||||||
|
|
||||||
def getstatus(self):
|
def getstatus(self):
|
||||||
parts = ["%s %s" % (spec.id, self._status[spec.id]) for spec in self._specs]
|
if self.config.option.verbose >= 0:
|
||||||
return " / ".join(parts)
|
parts = ["%s %s" % (spec.id, self._status[spec.id]) for spec in self._specs]
|
||||||
|
return " / ".join(parts)
|
||||||
|
else:
|
||||||
|
return "bringing up nodes..."
|
||||||
|
|
||||||
def rewrite(self, line, newline=False):
|
def rewrite(self, line, newline=False):
|
||||||
pline = line + " " * max(self._lastlen - len(line), 0)
|
pline = line + " " * max(self._lastlen - len(line), 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user