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 <rharrison@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
diff --git a/testing/tools/safetynet_job.py b/testing/tools/safetynet_job.py
index 7416533..f0e4efa 100755
--- a/testing/tools/safetynet_job.py
+++ b/testing/tools/safetynet_job.py
@@ -67,10 +67,6 @@
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: