From 9748a62058cd3a07821c346f5a7764d896b73a75 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 5 Jul 2014 02:56:11 +0400 Subject: [PATCH] Remove self.cleanup --- Robots/bkmk_robot_base.py | 3 --- Robots/bkmk_rurllib.py | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Robots/bkmk_robot_base.py b/Robots/bkmk_robot_base.py index 80079b4..533238c 100644 --- a/Robots/bkmk_robot_base.py +++ b/Robots/bkmk_robot_base.py @@ -222,8 +222,5 @@ class robot_base(Robot): def finish_check_url(self, bookmark): start = self.start bookmark.last_tested = str(start) - now = int(time.time()) bookmark.test_time = str(now - start) - - self.cleanup() diff --git a/Robots/bkmk_rurllib.py b/Robots/bkmk_rurllib.py index 6c10148..f39a02c 100644 --- a/Robots/bkmk_rurllib.py +++ b/Robots/bkmk_rurllib.py @@ -120,5 +120,6 @@ class robot_urllib(robot_base): # If there are - ftpcache_key in prev line is invalid. return _welcome - def cleanup(self): + def finish_check_url(self, bookmark): + robot_base.finish_check_url(self, bookmark) urllib.urlcleanup() -- 2.39.2