Change error message for concise json/csv
The error message is changed to not supported instead of errors. Change-Id: I28bd1e009770674389534be12519cc34673ba846
Tento commit je obsažen v:
odevzdal
Shuzhou Liu
rodič
d54bade574
revize
57e8e72b79
@@ -1939,7 +1939,7 @@ def showAllConcise(deviceList):
|
||||
"""
|
||||
global PRINT_JSON, appWidth
|
||||
if PRINT_JSON:
|
||||
print('ERROR: Cannot print JSON/CSV output for concise output')
|
||||
print('NOT_SUPPORTED: Cannot print JSON/CSV output for concise output')
|
||||
sys.exit(1)
|
||||
|
||||
silent = True
|
||||
@@ -2043,7 +2043,7 @@ def showAllConciseHw(deviceList):
|
||||
"""
|
||||
global PRINT_JSON
|
||||
if PRINT_JSON:
|
||||
print('ERROR: Cannot print JSON/CSV output for concise hardware output')
|
||||
print('NOT_SUPPORTED: Cannot print JSON/CSV output for concise hardware output')
|
||||
sys.exit(1)
|
||||
header = ['GPU', 'NODE', 'DID', 'GUID', 'GFX VER', 'GFX RAS', 'SDMA RAS', 'UMC RAS', 'VBIOS', 'BUS'
|
||||
, 'PARTITION ID']
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele