Commit fa02416
Change import order in Ycable helper and EEPROM read bytearray change in SFP plugin (#177)
- Import of sonic_platform before logger when platform API is not available leads to non import of logger resulting in xcvrd crash
- Since string and byte comparison returns true in python2 current check for differentiating python2 and 3 in EEPROM read fails.
Co-authored-by: V P Subramaniam <[email protected]>1 parent 0b60982 commit fa02416
File tree
2 files changed
+5
-11
lines changed- sonic_platform_base/sonic_sfp
- sonic_y_cable
2 files changed
+5
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
357 | 351 | | |
358 | 352 | | |
359 | 353 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments