Show More
@@ -104,11 +104,10 b" main thread's work patterns." | |||
|
104 | 104 | # no-check-code |
|
105 | 105 | from __future__ import division |
|
106 | 106 | |
|
107 |
import inspect, json, os, signal, tempfile, sys, getopt, threading |
|
|
107 | import inspect, json, os, signal, tempfile, sys, getopt, threading | |
|
108 | 108 | import time |
|
109 | 109 | from collections import defaultdict |
|
110 | 110 | from contextlib import contextmanager |
|
111 | from subprocess import call | |
|
112 | 111 | |
|
113 | 112 | __all__ = ['start', 'stop', 'reset', 'display', 'profile'] |
|
114 | 113 | |
@@ -328,7 +327,7 b' def save_data(path=None):' | |||
|
328 | 327 | file.write(time + '\0' + '\0'.join(sites) + '\n') |
|
329 | 328 | |
|
330 | 329 | file.close() |
|
331 |
except (IOError, OSError) |
|
|
330 | except (IOError, OSError): | |
|
332 | 331 | # The home directory probably didn't exist, or wasn't writable. Oh well. |
|
333 | 332 | pass |
|
334 | 333 |
General Comments 0
You need to be logged in to leave comments.
Login now