Codebase list debian-goodies / ce13c66
popbugs: add a recognisable prefix to temporary files This helps people who are cleaning up their tmp dirs. Paul Wise 7 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
8383 sys.exit(1)
8484
8585 if outputfile == None:
86 fd, outputfile = tempfile.mkstemp(suffix='.html')
86 fd, outputfile = tempfile.mkstemp(prefix='popbugs-', suffix='.html')
8787 output = os.fdopen(fd, 'w')
8888 view = True
8989 elif outputfile == '-':