Commit df8a93cb authored by Štěpán Balážik's avatar Štěpán Balážik

make StepLogger work again

e.g. provide real information about step in question
parent 93843c37
Pipeline #6006 passed with stage
in 1 minute and 22 seconds
...@@ -530,7 +530,7 @@ class Step: ...@@ -530,7 +530,7 @@ class Step:
self.id = int(node.value) self.id = int(node.value)
self.type = node["/type"].value self.type = node["/type"].value
self.log = StepLogger(logging.getLogger('pydnstest.scenario.Step'), self.log = StepLogger(logging.getLogger('pydnstest.scenario.Step'),
{'id': id, 'type': type}) {'id': self.id, 'type': self.type})
try: try:
self.delay = int(node["/timestamp"].value) self.delay = int(node["/timestamp"].value)
except KeyError: except KeyError:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment