##// END OF EJS Templates
FIXED logic of verbose flag in PDF post processor
Jonathan Frederic -
Show More
@@ -45,7 +45,7 b' class PDFPostProcessor(PostProcessorBase):'
45 command = [c.format(filename=input) for c in self.command]
45 command = [c.format(filename=input) for c in self.command]
46 self.log.info("Building PDF: `%s`", ' '.join(command))
46 self.log.info("Building PDF: `%s`", ' '.join(command))
47 with open(os.devnull, 'wb') as null:
47 with open(os.devnull, 'wb') as null:
48 stdout = null if self.verbose else None
48 stdout = null if not self.verbose else None
49 for index in range(self.iteration_count):
49 for index in range(self.iteration_count):
50 p = subprocess.Popen(command, stdout=stdout)
50 p = subprocess.Popen(command, stdout=stdout)
51 p.wait()
51 p.wait()
General Comments 0
You need to be logged in to leave comments. Login now