[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
Bu işleme şunda yer alıyor:
işlemeyi yapan:
Harish Kasiviswanathan
ebeveyn
432df20321
işleme
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):
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle