Revision 8e00f36a
b/lib/server/noded.py | ||
---|---|---|
57 | 57 |
queue_lock = None |
58 | 58 |
|
59 | 59 |
|
60 |
def _extendReasonTrail(trail, source, reason=""): |
|
61 |
"""Extend the reason trail with noded information |
|
62 |
|
|
63 |
The trail is extended by appending the name of the noded functionality |
|
64 |
""" |
|
65 |
assert trail is not None |
|
66 |
trail_source = "%s:%s" % (constants.OPCODE_REASON_SRC_NODED, source) |
|
67 |
trail.append((trail_source, reason, utils.EpochNano())) |
|
68 |
|
|
69 |
|
|
60 | 70 |
def _PrepareQueueLock(): |
61 | 71 |
"""Try to prepare the queue lock. |
62 | 72 |
|
Also available in: Unified diff