From: borenet Date: Fri, 17 Oct 2014 21:17:18 +0000 (-0700) Subject: Fix RecreateSKPs bot (again) X-Git-Tag: submit/tizen/20180928.044319~5361 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=25956ce43032afdfcc996af8c7661c076f9a1d74;p=platform%2Fupstream%2FlibSkiaSharp.git Fix RecreateSKPs bot (again) It's killing its own process... BUG=skia:3008 TBR=rmistry NOTRY=true Review URL: https://codereview.chromium.org/661203002 --- diff --git a/tools/skp/recreate_skps.py b/tools/skp/recreate_skps.py index 78863183cb..bbec14a6a6 100644 --- a/tools/skp/recreate_skps.py +++ b/tools/skp/recreate_skps.py @@ -72,7 +72,7 @@ def main(chrome_src_path, browser_executable): for line in procs.splitlines(): if browser_executable in line: pid = line.strip().split(' ')[0] - if pid != str(os.getpid()): + if pid != str(os.getpid()) and not 'python' in line: try: shell_utils.run(['kill', '-9', pid]) except shell_utils.CommandFailedException as e: