summaryrefslogtreecommitdiffstats
path: root/event_log.py
diff options
context:
space:
mode:
Diffstat (limited to 'event_log.py')
-rw-r--r--event_log.py2
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'
23TASK_SYNC_NETWORK = 'sync-network' 23TASK_SYNC_NETWORK = 'sync-network'
24TASK_SYNC_LOCAL = 'sync-local' 24TASK_SYNC_LOCAL = 'sync-local'
25 25
26
26class EventLog(object): 27class 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
168def _NextEventId(): 170def _NextEventId():
169 """Helper function for grabbing the next unique id. 171 """Helper function for grabbing the next unique id.
170 172