add over.cmd.Command.__str__

This commit is contained in:
Martin Sekera 2019-04-23 01:51:51 +02:00
parent 908857a317
commit 7634b3e35d
2 changed files with 5 additions and 2 deletions

View file

@ -61,6 +61,9 @@ class Command:
self.__dict__["sequence_original"] = list(sequence)
self.reset()
def __str__(self):
return " ".join(self.dump(pretty=True))
def __setattr__(self, name, value):
found = False

View file

@ -4,5 +4,5 @@
major = 2 # VERSION_MAJOR_IDENTIFIER
minor = 1 # VERSION_MINOR_IDENTIFIER
# VERSION_LAST_MM 2.1
patch = 4 # VERSION_PATCH_IDENTIFIER
str = "2.1.4" # VERSION_STRING_IDENTIFIER
patch = 5 # VERSION_PATCH_IDENTIFIER
str = "2.1.5" # VERSION_STRING_IDENTIFIER