diff options
author | Christopher Ferris <cferris@google.com> | 2021-04-20 20:49:48 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-04-20 20:49:48 +0000 |
commit | fae6ff2f9e78ac8de59e00a1d3b329d3cc6a4769 (patch) | |
tree | 3ca88fa0a90cb078bb4fc60cda1326ecba891c38 /libc/kernel/tools/utils.py | |
parent | 8d36be9bb9cf1dd8e9e79d2cf84ff48290286380 (diff) | |
parent | ac7ec11473f9573750d429f066adda1c2b928212 (diff) |
Merge "Update for python3."
Diffstat (limited to 'libc/kernel/tools/utils.py')
-rw-r--r-- | libc/kernel/tools/utils.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libc/kernel/tools/utils.py b/libc/kernel/tools/utils.py index 1b06b1b48..3b4828b5a 100644 --- a/libc/kernel/tools/utils.py +++ b/libc/kernel/tools/utils.py @@ -1,6 +1,5 @@ # common python utility routines for the Bionic tool scripts -import commands import logging import os import string @@ -146,19 +145,3 @@ class BatchFileUpdater: for dst in sorted(deletes): os.remove(dst) - - def updateGitFiles(self): - adds, deletes, edits = self.getChanges() - - if adds: - for dst in sorted(adds): - self._writeFile(dst) - commands.getoutput("git add " + " ".join(adds)) - - if deletes: - commands.getoutput("git rm " + " ".join(deletes)) - - if edits: - for dst in sorted(edits): - self._writeFile(dst) - commands.getoutput("git add " + " ".join(edits)) |