summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/buildstream/_message.py2
-rw-r--r--src/buildstream/_messenger.py4
2 files changed, 0 insertions, 6 deletions
diff --git a/src/buildstream/_message.py b/src/buildstream/_message.py
index c2cdb8277..7f1a939d2 100644
--- a/src/buildstream/_message.py
+++ b/src/buildstream/_message.py
@@ -59,7 +59,6 @@ class Message():
detail=None,
action_name=None,
elapsed=None,
- depth=None,
logfile=None,
sandbox=None,
scheduler=False):
@@ -68,7 +67,6 @@ class Message():
self.detail = detail # An additional detail string
self.action_name = action_name # Name of the task queue (fetch, refresh, build, etc)
self.elapsed = elapsed # The elapsed time, in timed messages
- self.depth = depth # The depth of a timed message
self.logfile = logfile # The log file path where commands took place
self.sandbox = sandbox # The error that caused this message used a sandbox
self.pid = os.getpid() # The process pid
diff --git a/src/buildstream/_messenger.py b/src/buildstream/_messenger.py
index a440bfe5a..6965081ad 100644
--- a/src/buildstream/_messenger.py
+++ b/src/buildstream/_messenger.py
@@ -69,10 +69,6 @@ class Messenger():
#
def message(self, message):
- # Tag message only once
- if message.depth is None:
- message.depth = len(self._message_depth)
-
# If we are recording messages, dump a copy into the open log file.
self._record_message(message)