]> git.phdru.name Git - bookmarks_db.git/commitdiff
Fixed a bug - log can be None.
authorOleg Broytman <phd@phdru.name>
Sun, 30 Dec 2007 20:31:16 +0000 (20:31 +0000)
committerOleg Broytman <phd@phdru.name>
Sun, 30 Dec 2007 20:31:16 +0000 (20:31 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@150 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

Robots/bkmk_rforking.py

index 849078e584a33abbb17cba4f6f74411a350e1aea..c04026e2cc6c48ce4c55425dbc585333906ae667 100644 (file)
@@ -24,7 +24,7 @@ subp_pipe = None
 def stop_subp(log):
    global check_subp, subp_pipe
    if check_subp:
-      log("   restarting hanging subprocess")
+      if log: log("   restarting hanging subprocess")
       del check_subp
    del subp_pipe