File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6
6
from __future__ import print_function
7
7
8
8
try :
9
- from sff8024 import type_of_transceiver
10
- from sffbase import sffbase
9
+ from . sff8024 import type_of_transceiver # Dot module supports both Python 2 and Python 3 using explicit relative import methods
10
+ from . sffbase import sffbase # Dot module supports both Python 2 and Python 3 using explicit relative import methods
11
11
except ImportError as e :
12
12
raise ImportError ("%s - required module not found" % e )
13
13
Original file line number Diff line number Diff line change 15
15
import getopt
16
16
import types
17
17
from math import log10
18
- from sff8024 import type_of_transceiver
18
+ from . sff8024 import type_of_transceiver # Dot module supports both Python 2 and Python 3 using explicit relative import methods
19
19
from .sffbase import sffbase # Dot module supports both Python 2 and Python 3 using explicit relative import methods
20
20
except ImportError as e :
21
21
raise ImportError (str (e ) + "- required module not found" )
Original file line number Diff line number Diff line change 17
17
import getopt
18
18
import types
19
19
from math import log10
20
- from sff8024 import type_of_transceiver
20
+ from . sff8024 import type_of_transceiver # Dot module supports both Python 2 and Python 3 using explicit relative import methods
21
21
from .sffbase import sffbase # Dot module supports both Python 2 and Python 3 using explicit relative import methods
22
22
except ImportError as e :
23
23
raise ImportError (str (e ) + "- required module not found" )
Original file line number Diff line number Diff line change 16
16
from .sff8472 import sff8472Dom # Dot module supports both Python 2 and Python 3 using explicit relative import methods
17
17
from .sff8436 import sff8436InterfaceId # Dot module supports both Python 2 and Python 3 using explicit relative import methods
18
18
from .sff8436 import sff8436Dom # Dot module supports both Python 2 and Python 3 using explicit relative import methods
19
- from inf8628 import inf8628InterfaceId
19
+ from . inf8628 import inf8628InterfaceId # Dot module supports both Python 2 and Python 3 using explicit relative import methods
20
20
except ImportError as e :
21
21
raise ImportError ("%s - required module not found" % str (e ))
22
22
You can’t perform that action at this time.
0 commit comments