popbugs: add a recognisable prefix to temporary files
This helps people who are cleaning up their tmp dirs.
Paul Wise
7 years ago
83 | 83 |
sys.exit(1)
|
84 | 84 |
|
85 | 85 |
if outputfile == None:
|
86 | |
fd, outputfile = tempfile.mkstemp(suffix='.html')
|
|
86 |
fd, outputfile = tempfile.mkstemp(prefix='popbugs-', suffix='.html')
|
87 | 87 |
output = os.fdopen(fd, 'w')
|
88 | 88 |
view = True
|
89 | 89 |
elif outputfile == '-':
|