diff options
author | Simon Glass <sjg@chromium.org> | 2022-01-29 14:14:15 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-02-09 12:30:13 -0700 |
commit | f3385a5b1c2024e33e276aef829a4da43ceee0fe (patch) | |
tree | e51e340d35760d463aa8e917b8695e71746a94e4 /tools/binman/image.py | |
parent | 5e2ab40172b42ae9ce6d58b95f238013184fa865 (diff) |
patman: Convert camel case in tout.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/binman/image.py')
-rw-r--r-- | tools/binman/image.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/binman/image.py b/tools/binman/image.py index 93a1d3e645..afc4b4d643 100644 --- a/tools/binman/image.py +++ b/tools/binman/image.py @@ -175,11 +175,11 @@ class Image(section.Entry_section): def BuildImage(self): """Write the image to a file""" fname = tools.get_output_filename(self._filename) - tout.Info("Writing image to '%s'" % fname) + tout.info("Writing image to '%s'" % fname) with open(fname, 'wb') as fd: data = self.GetPaddedData() fd.write(data) - tout.Info("Wrote %#x bytes" % len(data)) + tout.info("Wrote %#x bytes" % len(data)) def WriteMap(self): """Write a map of the image to a .map file @@ -230,7 +230,7 @@ class Image(section.Entry_section): return entry def ReadData(self, decomp=True, alt_format=None): - tout.Debug("Image '%s' ReadData(), size=%#x" % + tout.debug("Image '%s' ReadData(), size=%#x" % (self.GetPath(), len(self._data))) return self._data |