Revision fa4aa6b4
b/lib/jqueue.py | ||
---|---|---|
203 | 203 |
self.start_timestamp = None |
204 | 204 |
self.end_timestamp = None |
205 | 205 |
|
206 |
self.current_op = None |
|
206 |
self._InitInMemory(self) |
|
207 |
|
|
208 |
@staticmethod |
|
209 |
def _InitInMemory(obj): |
|
210 |
"""Initializes in-memory variables. |
|
211 |
|
|
212 |
""" |
|
213 |
obj.current_op = None |
|
207 | 214 |
|
208 | 215 |
def __repr__(self): |
209 | 216 |
status = ["%s.%s" % (self.__class__.__module__, self.__class__.__name__), |
... | ... | |
239 | 246 |
obj.log_serial = max(obj.log_serial, log_entry[0]) |
240 | 247 |
obj.ops.append(op) |
241 | 248 |
|
242 |
obj.current_op = None
|
|
249 |
cls._InitInMemory(obj)
|
|
243 | 250 |
|
244 | 251 |
return obj |
245 | 252 |
|
Also available in: Unified diff