]> git.phdru.name Git - bookmarks_db.git/commitdiff
Remove self.cleanup
authorOleg Broytman <phd@phdru.name>
Fri, 4 Jul 2014 22:56:11 +0000 (02:56 +0400)
committerOleg Broytman <phd@phdru.name>
Fri, 4 Jul 2014 22:56:11 +0000 (02:56 +0400)
Robots/bkmk_robot_base.py
Robots/bkmk_rurllib.py

index 80079b4d9006a45793d212b898b319c004a3a5c9..533238cfe228a01e4842d34415d4376f1ee9d915 100644 (file)
@@ -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()
index 6c10148af5688b26fc4eba60c7f34247a8d581bc..f39a02c0c427830e17f5cdf6fa3dc0946c06f59c 100644 (file)
@@ -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()