removed prints

This commit is contained in:
Sem van der Hoeven
2020-08-30 16:11:13 +02:00
parent 0c063c66c8
commit e5df7d300a

View File

@@ -73,18 +73,15 @@ class Status(Enum):
NONE = 3
def prev(self):
print("previous of {}".format(self))
v = self.value - 1
if v < 0:
v = 3
print("previous is {}".format(Status(v)))
return Status(v)
def next(self):
v = self.value + 1
if v > 3:
v = 0
print("next is {}".format(Status(v)))
return Status(v)