Skip to content

Commit f84f408

Browse files
author
Jostar Yang
committed
Fix wrong system eeprom data of 0x25 field
1 parent 24ba4de commit f84f408

File tree

1 file changed

+1
-1
lines changed
  • device/accton/x86_64-accton_as4630_54pe-r0/sonic_platform

1 file changed

+1
-1
lines changed

device/accton/x86_64-accton_as4630_54pe-r0/sonic_platform/eeprom.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __parse_output(self, decode_output):
3333
for line in lines:
3434
try:
3535
match = re.search(
36-
'(0x[0-9a-fA-F]{2})([\s]+[\S]+[\s]+)([\S]+)', line)
36+
'(0x[0-9a-fA-F]{2})([\s]+[\S]+[\s]+)(.+)', line)
3737
if match is not None:
3838
idx = match.group(1)
3939
value = match.group(3).rstrip('\0')

0 commit comments

Comments
 (0)