[rocm_smi.py] remove \r symbol at print
Remove carriage return at the end of the line in printLog function.
On linux end of line is encoded with \n, not \n\r.
Change-Id: If3835d773033b53a7f25b4a0284df359a6f9555d
[ROCm/amdsmi commit: 1aeb27c4c9]
This commit is contained in:
committed by
Harish Kasiviswanathan
parent
d72346c920
commit
48a2251ff6
@@ -483,7 +483,7 @@ def printLog(device, metricName, value):
|
||||
logstr = logstr[13:]
|
||||
logging.debug(logstr)
|
||||
# Force thread safe printing
|
||||
print(logstr + '\n\r', end='')
|
||||
print(logstr + '\n', end='')
|
||||
|
||||
|
||||
def printListLog(metricName, valuesList):
|
||||
|
||||
Reference in New Issue
Block a user