mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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>
This commit is contained in:
parent
5e2ab40172
commit
f3385a5b1c
15 changed files with 91 additions and 91 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue