Guard a print statement with the verbose flag,
so it won't corrupt json or XML output.
This commit is contained in:
parent
1da4dbaa7c
commit
c3b5a73ada
1 changed files with 2 additions and 1 deletions
|
@ -430,7 +430,8 @@ class Parser:
|
|||
self.parse_line_without_commands(rawline)
|
||||
|
||||
if self.keep_temp_dir is None and self.temp_dir:
|
||||
print("removing " + self.temp_dir)
|
||||
if self.verbose:
|
||||
print("removing " + self.temp_dir)
|
||||
shutil.rmtree(self.temp_dir, ignore_errors = True)
|
||||
|
||||
def handle_command(self, com):
|
||||
|
|
Loading…
Add table
Reference in a new issue