Skip to content
Snippets Groups Projects
Commit f4817fc7 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Fix instruction printing of no_sync_with and atomicity

parent 32d4621f
No related branches found
No related tags found
No related merge requests found
......@@ -726,6 +726,8 @@ class InstructionBase(Record):
if self.depends_on:
result.append("deps="+":".join(self.depends_on))
if self.no_sync_with:
result.append("nosync="+":".join(self.no_sync_with))
if self.groups:
result.append("groups=%s" % ":".join(self.groups))
if self.conflicts_with_groups:
......@@ -734,7 +736,7 @@ class InstructionBase(Record):
result.append("priority=%d" % self.priority)
if self.tags:
result.append("tags=%s" % ":".join(self.tags))
if hasattr(self, "atomicity"):
if hasattr(self, "atomicity") and self.atomicity:
result.append("atomic=%s" % ":".join(str(a) for a in self.atomicity))
return result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment