aboutsummaryrefslogtreecommitdiff
path: root/tools/patman/func_test.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-01-29 14:14:04 -0700
committerSimon Glass <sjg@chromium.org>2022-02-09 12:26:12 -0700
commitc1aa66e75dbfcacab1fbca0e3e19c09e08d932d5 (patch)
treec33854b5848f407f5ad6b2d2337665ccd436eab4 /tools/patman/func_test.py
parent82ee8bfe519307b4175bb0f751da73c8555a0a25 (diff)
patman: Convert camel case in tools.py
Convert this file to snake case and update all files which use it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/func_test.py')
-rw-r--r--tools/patman/func_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patman/func_test.py b/tools/patman/func_test.py
index 9f4e03e882..defa1cca71 100644
--- a/tools/patman/func_test.py
+++ b/tools/patman/func_test.py
@@ -338,7 +338,7 @@ Changes in v2:
text (str): Text to put into the file
"""
path = os.path.join(self.gitdir, fname)
- tools.WriteFile(path, text, binary=False)
+ tools.write_file(path, text, binary=False)
index = self.repo.index
index.add(fname)
author = pygit2.Signature('Test user', 'test@email.com')