diff options
Diffstat (limited to 'event_log.py')
| -rw-r--r-- | event_log.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/event_log.py b/event_log.py index 45800a59..5dd9db66 100644 --- a/event_log.py +++ b/event_log.py | |||
| @@ -23,6 +23,7 @@ TASK_COMMAND = 'command' | |||
| 23 | TASK_SYNC_NETWORK = 'sync-network' | 23 | TASK_SYNC_NETWORK = 'sync-network' |
| 24 | TASK_SYNC_LOCAL = 'sync-local' | 24 | TASK_SYNC_LOCAL = 'sync-local' |
| 25 | 25 | ||
| 26 | |||
| 26 | class EventLog(object): | 27 | class EventLog(object): |
| 27 | """Event log that records events that occurred during a repo invocation. | 28 | """Event log that records events that occurred during a repo invocation. |
| 28 | 29 | ||
| @@ -165,6 +166,7 @@ class EventLog(object): | |||
| 165 | # An integer id that is unique across this invocation of the program. | 166 | # An integer id that is unique across this invocation of the program. |
| 166 | _EVENT_ID = multiprocessing.Value('i', 1) | 167 | _EVENT_ID = multiprocessing.Value('i', 1) |
| 167 | 168 | ||
| 169 | |||
| 168 | def _NextEventId(): | 170 | def _NextEventId(): |
| 169 | """Helper function for grabbing the next unique id. | 171 | """Helper function for grabbing the next unique id. |
| 170 | 172 | ||
