Skip to content

Commit 29ee9e8

Browse files
committed
removed old commented out code
1 parent 48dd913 commit 29ee9e8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/prpy/util.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,6 @@ def __init__(self, timeout_duration, handler, args=(), kwargs={}):
518518
self.canceled = False
519519

520520
self.thread_checking_time.start()
521-
#self.timer = threading.Timer(self.timeout_duration, self.handler)
522-
#self.timer.start()
523521

524522
def reset(self):
525523
'''
@@ -537,10 +535,6 @@ def reset(self):
537535
self.thread_checking_time = threading.Thread(target=self._check_timer_loop)
538536
self.thread_checking_time.start()
539537

540-
#self.timer.cancel()
541-
#self.timer = threading.Timer(self.timeout_duration, self.handler)
542-
#self.timer.start()
543-
544538
def stop(self):
545539
'''
546540
Stop the watchdog, so it will not call handler

0 commit comments

Comments
 (0)