From c551f43206405019121bd2b2c93714319a0a3300 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Thu, 23 Jan 2020 17:21:03 +0100 Subject: BASELINE: Update Chromium to 79.0.3945.139 Change-Id: I336b7182fab9bca80b709682489c07db112eaca5 Reviewed-by: Allan Sandfeld Jensen --- chromium/build/symlink.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chromium/build/symlink.py') diff --git a/chromium/build/symlink.py b/chromium/build/symlink.py index 12942aa1706..6c0586b9f8a 100755 --- a/chromium/build/symlink.py +++ b/chromium/build/symlink.py @@ -60,7 +60,7 @@ def Main(argv): stderr=subprocess.STDOUT) else: os.symlink(s, t) - except OSError, e: + except OSError as e: if e.errno == errno.EEXIST and options.force: if os.path.isdir(t): shutil.rmtree(t, ignore_errors=True) @@ -69,7 +69,7 @@ def Main(argv): os.symlink(s, t) else: raise - except subprocess.CalledProcessError, e: + except subprocess.CalledProcessError as e: # Since subprocess.check_output does not return an easily checked error # number, in the 'force' case always assume it is 'file already exists' # and retry. -- cgit v1.2.3