From e0ac96d42a250755010002399c7b4e6d0b588ecb Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Thu, 15 Mar 2007 02:25:51 +0000 Subject: [PATCH] show suspend/resume in test job --- direct/src/showbase/Job.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/direct/src/showbase/Job.py b/direct/src/showbase/Job.py index 8769cd0552..daa2de22cf 100755 --- a/direct/src/showbase/Job.py +++ b/direct/src/showbase/Job.py @@ -76,6 +76,7 @@ if __debug__: # __dev__ not yet available at this point self._finished = False def run(self): + self.printingBegin() while True: while self._accum < 100: self._accum += 1 @@ -87,6 +88,7 @@ if __debug__: # __dev__ not yet available at this point if self._counter >= 100: print 'Job.Done' + self.printingEnd() yield Job.Done else: yield None