X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Robots%2Fbkmk_rsimple_tos.py;h=4f8588a3a215c44b02a310b1bcd13f419412cb42;hb=f84aa81f636d43180118cd3e9470d3d57f9c539e;hp=581fb6988e54b0b1f7703c13343550d7ee5fe56a;hpb=fb5c3b2b91aeeb615d6d6d890491af3fdff69556;p=bookmarks_db.git diff --git a/Robots/bkmk_rsimple_tos.py b/Robots/bkmk_rsimple_tos.py index 581fb69..4f8588a 100644 --- a/Robots/bkmk_rsimple_tos.py +++ b/Robots/bkmk_rsimple_tos.py @@ -1,8 +1,7 @@ -#! /usr/local/bin/python -O """ - Simpl robot with timeoutsocket + Simple robot with timeoutsocket - Written by BroytMann, Sep 2000. Copyright (C) 2000 PhiloSoft Design + Written by BroytMann. Copyright (C) 2000-2007 PhiloSoft Design """ @@ -12,9 +11,9 @@ timeoutsocket.setDefaultSocketTimeout(900) from bkmk_rsimple import robot_simple, get_error class robot_simple_tos(robot_simple): - def check_url(self, bookmark, url_type, url_rest): + def check_url(self, bookmark): try: - return robot_simple.check_url(self, bookmark, url_type, url_rest) + return robot_simple.check_url(self, bookmark) except (socket.error, timeoutsocket.Timeout), msg: bookmark.error = get_error(msg)