assertion
This commit is contained in:
parent
bda1e63b8e
commit
48eef75e74
|
|
@ -36,6 +36,8 @@ class Interval(DirectObject):
|
|||
# if it should be ignored in this case.
|
||||
self.openEnded = openEnded
|
||||
|
||||
assert(self.duration >= 0)
|
||||
|
||||
def getName(self):
|
||||
return self.name
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue