diff options
author | Simon Glass | 2022-01-29 14:14:16 -0700 |
---|---|---|
committer | Simon Glass | 2022-02-09 12:30:13 -0700 |
commit | 82e0e732ee2cf6d0e125aeb7ed7de69711f35ec8 (patch) | |
tree | b319ad1410444b531be5961cbbbaa972ec4a0704 /tools/patman/terminal.py | |
parent | f3385a5b1c2024e33e276aef829a4da43ceee0fe (diff) |
patman: Rename Print() to Tprint()
Rename this function so that when we convert it to snake case it will not
conflict with the built-in print() function.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/terminal.py')
-rw-r--r-- | tools/patman/terminal.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/patman/terminal.py b/tools/patman/terminal.py index 9be03b3a6fd..f76d2b17772 100644 --- a/tools/patman/terminal.py +++ b/tools/patman/terminal.py @@ -130,7 +130,7 @@ def TrimAsciiLen(text, size): return out -def Print(text='', newline=True, colour=None, limit_to_line=False, bright=True): +def Tprint(text='', newline=True, colour=None, limit_to_line=False, bright=True): """Handle a line of output to the terminal. In test mode this is recorded in a list. Otherwise it is output to the @@ -175,7 +175,7 @@ def SetPrintTestMode(enable=True): GetPrintTestLines() def GetPrintTestLines(): - """Get a list of all lines output through Print() + """Get a list of all lines output through Tprint() Returns: A list of PrintLine objects |