Skip to content

Commit d6ea3a0

Browse files
committed
place: fix output of tags to be usable as input for set-tag
The input of set-tag command expects a list of key=value pairs space seperated. This change makes the output of show command usable for set-tag.
1 parent 57dedfa commit d6ea3a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labgrid/remote/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def show(self, level=0):
187187
if self.comment:
188188
print(indent + f"comment: {self.comment}")
189189
if self.tags:
190-
print(indent + f"tags: {', '.join(k + '=' + v for k, v in sorted(self.tags.items()))}")
190+
print(indent + f"tags: {' '.join(k + '=' + v for k, v in sorted(self.tags.items()))}")
191191
print(indent + "matches:")
192192
for match in sorted(self.matches):
193193
print(indent + f" {match}")

0 commit comments

Comments
 (0)