| Index: tools/testing/perf_testing/create_graph.py
|
| ===================================================================
|
| --- tools/testing/perf_testing/create_graph.py (revision 4018)
|
| +++ tools/testing/perf_testing/create_graph.py (working copy)
|
| @@ -68,6 +68,11 @@
|
| if append:
|
| mode = 'a'
|
| out = open(outfile, mode)
|
| + if append:
|
| + # Annoying Windows "feature" -- append doesn't actually append unless you
|
| + # explicitly go to the end of the file.
|
| + # http://mail.python.org/pipermail/python-list/2009-October/1221859.html
|
| + out.seek(0, os.SEEK_END)
|
| p = subprocess.Popen(cmd_list, stdout = out, stderr = subprocess.PIPE,
|
| shell=HAS_SHELL)
|
| output, not_used = p.communicate();
|
|
|