assertion

This commit is contained in:
David Rose 2002-09-24 23:40:26 +00:00
parent bda1e63b8e
commit 48eef75e74
1 changed files with 2 additions and 0 deletions

View File

@ -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