changes some values of headers

This commit is contained in:
Cayo Puigdefabregas 2021-11-24 12:20:40 +01:00
parent 0543fb64a5
commit 03ee4fba34
3 changed files with 8 additions and 10 deletions

View file

@ -232,9 +232,8 @@ class DeviceRow(OrderedDict):
self['Test {} {} Software'.format(ctype, i)] = '' self['Test {} {} Software'.format(ctype, i)] = ''
self['Test {} {} Type'.format(ctype, i)] = '' self['Test {} {} Type'.format(ctype, i)] = ''
self['Test {} {} Result'.format(ctype, i)] = '' self['Test {} {} Result'.format(ctype, i)] = ''
self['Test {} {} Power on (hours used)'.format(ctype, i)] = '' self['Test {} {} Power cycle count'.format(ctype, i)] = ''
self['Test {} {} Lifetime remaining (percentage)'.format( self['Test {} {} Lifetime (days)'.format(ctype, i)] = ''
ctype, i)] = ''
self['Test {} {} Power on hours'.format(ctype, i)] = '' self['Test {} {} Power on hours'.format(ctype, i)] = ''
return return
@ -330,9 +329,8 @@ class DeviceRow(OrderedDict):
self['Test {} {} Software'.format(ctype, i)] = '' self['Test {} {} Software'.format(ctype, i)] = ''
self['Test {} {} Type'.format(ctype, i)] = '' self['Test {} {} Type'.format(ctype, i)] = ''
self['Test {} {} Result'.format(ctype, i)] = '' self['Test {} {} Result'.format(ctype, i)] = ''
self['Test {} {} Power on (hours used)'.format(ctype, i)] = '' self['Test {} {} Power cycle count'.format(ctype, i)] = ''
self['Test {} {} Lifetime remaining (percentage)'.format( self['Test {} {} Lifetime (days)'.format(ctype, i)] = ''
ctype, i)] = ''
self['Test {} {} Power on hours'.format(ctype, i)] = '' self['Test {} {} Power on hours'.format(ctype, i)] = ''
return return
@ -340,9 +338,9 @@ class DeviceRow(OrderedDict):
self['Test {} {} Type'.format(ctype, i)] = test_storage.length.value self['Test {} {} Type'.format(ctype, i)] = test_storage.length.value
self['Test {} {} Result'.format(ctype, i)] = get_result( self['Test {} {} Result'.format(ctype, i)] = get_result(
test_storage) test_storage)
self['Test {} {} Power on (hours used)'.format(ctype, i)] = none2str( self['Test {} {} Power cycle count'.format(ctype, i)] = none2str(
test_storage.power_cycle_count) test_storage.power_cycle_count)
self['Test {} {} Lifetime remaining (percentage)'.format(ctype, i)] = none2str( self['Test {} {} Lifetime (days)'.format(ctype, i)] = none2str(
test_storage.lifetime) test_storage.lifetime)
self['Test {} {} Power on hours'.format(ctype, i)] = none2str( self['Test {} {} Power on hours'.format(ctype, i)] = none2str(
test_storage.power_on_hours) test_storage.power_on_hours)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long