Skip to content

Commit 6f74dd3

Browse files
keboliuqiluo-msft
authored andcommitted
[Bug fix] fix a syntax error (sonic-net#71)
1 parent 88cf320 commit 6f74dd3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sonic_platform_base/sonic_eeprom/eeprom_tlvinfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ def update_eeprom_db(self, e):
393393
else:
394394
tlv_index += ord(e[tlv_index + 1]) + 2
395395

396-
if vendor_ext_tlv_num > 0
396+
if vendor_ext_tlv_num > 0:
397397
fvs['Num_vendor_ext'] = str(vendor_ext_tlv_num)
398398
client.hmset('EEPROM_INFO|{}'.format(hex(self._TLV_CODE_VENDOR_EXT)), fvs)
399399
fvs.clear()

0 commit comments

Comments
 (0)