cleanup verbosity
This commit is contained in:
@@ -222,6 +222,7 @@ class Progress:
|
|||||||
|
|
||||||
def finish(self):
|
def finish(self):
|
||||||
|
|
||||||
|
if self.verbosity_level > 1:
|
||||||
for i in range(len(self.framedata) + 3):
|
for i in range(len(self.framedata) + 3):
|
||||||
sys.stdout.write("\n")
|
sys.stdout.write("\n")
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
@@ -317,6 +318,7 @@ def main():
|
|||||||
|
|
||||||
rc = process.poll()
|
rc = process.poll()
|
||||||
progress.finish()
|
progress.finish()
|
||||||
|
if progress.verbosity_level > 1:
|
||||||
print("Exit code: {}".format(rc))
|
print("Exit code: {}".format(rc))
|
||||||
sys.exit(rc)
|
sys.exit(rc)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user