From: Oleg Broytman Date: Fri, 4 Jul 2014 22:56:11 +0000 (+0400) Subject: Remove self.cleanup X-Git-Tag: v4.6.0~10 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=9748a62058cd3a07821c346f5a7764d896b73a75;p=bookmarks_db.git Remove self.cleanup --- 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()