]> git.phdru.name Git - bookmarks_db.git/blobdiff - Robots/bkmk_rforking_sub.py
Split simple robot
[bookmarks_db.git] / Robots / bkmk_rforking_sub.py
index 36338f42d6d52d4e80570cca0507eba83511c551..73956e246d6b02342e3256248bc7e90639c8b501 100755 (executable)
@@ -1,16 +1,17 @@
 #! /usr/bin/env python
-"""Check URL - subprocess for the forking robot
+"""Subprocess for the forking robot - check URL using bkmk_rurlib robot
 
 This file is a part of Bookmarks database and Internet robot.
+
 """
 
-__version__ = "$Revision$"[11:-2]
-__revision__ = "$Id$"[5:-2]
-__date__ = "$Date$"[7:-2]
 __author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 1999-2011 PhiloSoft Design"
+__copyright__ = "Copyright (C) 1999-2014 PhiloSoft Design"
 __license__ = "GNU GPL"
 
+__all__ = []
+
+
 import sys, os
 
 lib_dir = os.path.normpath(os.path.dirname(sys.argv[0]) + os.sep + os.pardir)
@@ -23,7 +24,6 @@ except ImportError:
    import pickle
 
 from subproc import RecordFile
-import bkmk_rsimple
 
 
 def run():
@@ -32,8 +32,8 @@ def run():
 
    from m_lib.flog import openlog
    log = openlog("check2.log")
-   from bkmk_rsimple import robot_simple
-   robot = robot_simple(log)
+   from bkmk_rurllib import robot_urllib
+   robot = robot_urllib(log)
 
    while 1:
       bookmark = pickle.loads(bkmk_in.read_record())