[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:
Elena Sakhnovitch
2021-11-24 20:10:38 -05:00
committed by Harish Kasiviswanathan
orang tua 432df20321
melakukan 1aeb27c4c9
+1 -1
Melihat File
@@ -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):