[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
This commit is contained in:
committed by
Harish Kasiviswanathan
orang tua
432df20321
melakukan
1aeb27c4c9
@@ -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