warning is now an error

This commit is contained in:
David Rose 2003-09-22 22:16:52 +00:00
parent 6446d3c673
commit 0f357ba02f
2 changed files with 6 additions and 6 deletions

View File

@ -15,18 +15,18 @@
self.privPostEvent()
def play(self, t0 = 0.0, duration = None, scale = 1.0):
self.notify.warning("using deprecated CInterval.play() interface")
self.notify.error("using deprecated CInterval.play() interface")
if duration: # None or 0 implies full length
self.start(t0, t0 + duration, scale)
else:
self.start(t0, -1, scale)
def stop(self):
self.notify.warning("using deprecated CInterval.stop() interface")
self.notify.error("using deprecated CInterval.stop() interface")
self.finish()
def setFinalT(self):
self.notify.warning("using deprecated CInterval.setFinalT() interface")
self.notify.error("using deprecated CInterval.setFinalT() interface")
self.finish()
def privPostEvent(self):

View File

@ -313,15 +313,15 @@ class Interval(DirectObject):
# for the CInterval class via the file CInterval-extensions.py.
def play(self, *args, **kw):
self.notify.warning("using deprecated Interval.play() interface")
self.notify.error("using deprecated Interval.play() interface")
self.start(*args, **kw)
def stop(self):
self.notify.warning("using deprecated Interval.stop() interface")
self.notify.error("using deprecated Interval.stop() interface")
self.finish()
def setFinalT(self):
self.notify.warning("using deprecated Interval.setFinalT() interface")
self.notify.error("using deprecated Interval.setFinalT() interface")
self.finish()
def privPostEvent(self):