Revision 2466c0fd lib/cli.py
b/lib/cli.py | ||
---|---|---|
2391 | 2391 |
"Found value %r for abnormal status %s" % (value, status) |
2392 | 2392 |
|
2393 | 2393 |
if status == constants.QRFS_UNKNOWN: |
2394 |
return "<unknown>"
|
|
2394 |
return "(unknown)"
|
|
2395 | 2395 |
|
2396 | 2396 |
if status == constants.QRFS_NODATA: |
2397 |
return "<nodata>"
|
|
2397 |
return "(nodata)"
|
|
2398 | 2398 |
|
2399 | 2399 |
if status == constants.QRFS_UNAVAIL: |
2400 |
return "<unavail>"
|
|
2400 |
return "(unavail)"
|
|
2401 | 2401 |
|
2402 | 2402 |
raise NotImplementedError("Unknown status %s" % status) |
2403 | 2403 |
|
Also available in: Unified diff