From 8550a2d1e037ef444e8ac340ea70001c7a25091c Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Mon, 10 Sep 2018 17:27:01 +0000 Subject: Remove check for clean branch from safetynet_job.py. Branches can be dirty when a library sync'ed with gclient sync is removed from DEPS and from .gitignore. The library will be removed by "gclient sync --force". Change-Id: I19fa4a3f13989edb41cd671fd412cc67e67819eb Reviewed-on: https://pdfium-review.googlesource.com/42211 Reviewed-by: Ryan Harrison Commit-Queue: Henrique Nakashima --- testing/tools/safetynet_job.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/testing/tools/safetynet_job.py b/testing/tools/safetynet_job.py index 7416533222..f0e4efa918 100755 --- a/testing/tools/safetynet_job.py +++ b/testing/tools/safetynet_job.py @@ -67,10 +67,6 @@ class JobRun(object): os.path.pardir) os.chdir(pdfium_src_dir) - if not self.git.IsCurrentBranchClean() and not self.args.no_checkout: - PrintWithTime('Current branch is not clean, aborting') - return 1 - branch_to_restore = self.git.GetCurrentBranchName() if not self.args.no_checkout: -- cgit v1.2.3