From ca3a9bce3feac7ccc06a76c33182142033480f95 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 30 Dec 2007 20:31:16 +0000 Subject: [PATCH] Fixed a bug - log can be None. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@150 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Robots/bkmk_rforking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Robots/bkmk_rforking.py b/Robots/bkmk_rforking.py index 849078e..c04026e 100644 --- a/Robots/bkmk_rforking.py +++ b/Robots/bkmk_rforking.py @@ -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 -- 2.39.5