Skip to content

Commit

Permalink
more changes needed for SNMP docker upgrade to stretch build (sonic-n…
Browse files Browse the repository at this point in the history
  • Loading branch information
samaity authored and jleveque committed Apr 3, 2019
1 parent 4944a64 commit 92b54b1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions sonic_sfp/inf8628.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from __future__ import print_function

try:
from sff8024 import type_of_transceiver
from sffbase import sffbase
from .sff8024 import type_of_transceiver # Dot module supports both Python 2 and Python 3 using explicit relative import methods
from .sffbase import sffbase # Dot module supports both Python 2 and Python 3 using explicit relative import methods
except ImportError as e:
raise ImportError ("%s - required module not found" % e)

Expand Down
2 changes: 1 addition & 1 deletion sonic_sfp/sff8436.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import getopt
import types
from math import log10
from sff8024 import type_of_transceiver
from .sff8024 import type_of_transceiver # Dot module supports both Python 2 and Python 3 using explicit relative import methods
from .sffbase import sffbase # Dot module supports both Python 2 and Python 3 using explicit relative import methods
except ImportError as e:
raise ImportError (str(e) + "- required module not found")
Expand Down
2 changes: 1 addition & 1 deletion sonic_sfp/sff8472.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import getopt
import types
from math import log10
from sff8024 import type_of_transceiver
from .sff8024 import type_of_transceiver # Dot module supports both Python 2 and Python 3 using explicit relative import methods
from .sffbase import sffbase # Dot module supports both Python 2 and Python 3 using explicit relative import methods
except ImportError as e:
raise ImportError (str(e) + "- required module not found")
Expand Down
2 changes: 1 addition & 1 deletion sonic_sfp/sfputilbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from .sff8472 import sff8472Dom # Dot module supports both Python 2 and Python 3 using explicit relative import methods
from .sff8436 import sff8436InterfaceId # Dot module supports both Python 2 and Python 3 using explicit relative import methods
from .sff8436 import sff8436Dom # Dot module supports both Python 2 and Python 3 using explicit relative import methods
from inf8628 import inf8628InterfaceId
from .inf8628 import inf8628InterfaceId # Dot module supports both Python 2 and Python 3 using explicit relative import methods
except ImportError as e:
raise ImportError("%s - required module not found" % str(e))

Expand Down

0 comments on commit 92b54b1

Please sign in to comment.