removed prints
This commit is contained in:
@@ -73,18 +73,15 @@ class Status(Enum):
|
|||||||
NONE = 3
|
NONE = 3
|
||||||
|
|
||||||
def prev(self):
|
def prev(self):
|
||||||
print("previous of {}".format(self))
|
|
||||||
v = self.value - 1
|
v = self.value - 1
|
||||||
if v < 0:
|
if v < 0:
|
||||||
v = 3
|
v = 3
|
||||||
print("previous is {}".format(Status(v)))
|
|
||||||
return Status(v)
|
return Status(v)
|
||||||
|
|
||||||
def next(self):
|
def next(self):
|
||||||
v = self.value + 1
|
v = self.value + 1
|
||||||
if v > 3:
|
if v > 3:
|
||||||
v = 0
|
v = 0
|
||||||
print("next is {}".format(Status(v)))
|
|
||||||
return Status(v)
|
return Status(v)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user