aboutsummaryrefslogtreecommitdiff
path: root/tools/patman/terminal.py
diff options
context:
space:
mode:
authorSimon Glass2022-01-29 14:14:16 -0700
committerSimon Glass2022-02-09 12:30:13 -0700
commit82e0e732ee2cf6d0e125aeb7ed7de69711f35ec8 (patch)
treeb319ad1410444b531be5961cbbbaa972ec4a0704 /tools/patman/terminal.py
parentf3385a5b1c2024e33e276aef829a4da43ceee0fe (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.py4
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