2 Simple robot with timeoutsocket
4 Written by BroytMann. Copyright (C) 2000-2007 PhiloSoft Design
8 import socket, timeoutsocket
9 timeoutsocket.setDefaultSocketTimeout(900)
11 from bkmk_rsimple import robot_simple, get_error
13 class robot_simple_tos(robot_simple):
14 def check_url(self, bookmark):
16 return robot_simple.check_url(self, bookmark)
18 except (socket.error, timeoutsocket.Timeout), msg:
19 bookmark.error = get_error(msg)
21 self.finish_check_url(bookmark)