File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class IxNetError(Exception):
30
30
'''Default IxNet error'''
31
31
32
32
33
- import IxNetworkLegacy
33
+ from . import IxNetworkLegacy
34
34
35
35
36
36
class IxNet (object ):
@@ -39,7 +39,7 @@ class IxNet(object):
39
39
"""
40
40
41
41
def __init__ (self ):
42
- self ._version = '8.50.1501.9 '
42
+ self ._version = '8.50.1501.10 '
43
43
self .OK = '::ixNet::OK'
44
44
self .ERROR = '::ixNet::ERROR'
45
45
self ._transportType = None
@@ -49,7 +49,7 @@ def __init__(self):
49
49
self ._debug = None
50
50
51
51
try :
52
- import IxNetworkSecure
52
+ from . import IxNetworkSecure
53
53
self .__ixNetworkSecure = IxNetworkSecure .IxNet ()
54
54
self .__ixNetworkSecureImportError = None
55
55
except (ImportError ,):
Original file line number Diff line number Diff line change 36
36
unicode = str
37
37
38
38
39
- from IxNetwork import IxNetError
39
+ from . IxNetwork import IxNetError
40
40
41
41
42
42
class IxNet :
@@ -65,7 +65,7 @@ def __init__(self):
65
65
self ._timeout = None
66
66
self ._transportType = 'TclSocket'
67
67
self ._OK = '::ixNet::OK'
68
- self ._version = '8.50.1501.9 '
68
+ self ._version = '8.50.1501.10 '
69
69
70
70
def setDebug (self , debug ):
71
71
self ._debug = debug
@@ -533,4 +533,4 @@ def _log(self, msg):
533
533
dt = datetime .now ().strftime ("%a %b %d %X %Y" )
534
534
if (len (msg ) > 1024 ):
535
535
msg = '' .join ([msg [:1024 ], '...' ])
536
- print ('[{timestamp}] [IxNet] [debug] {msg}' .format (timestamp = dt , msg = msg ))
536
+ print ('[{timestamp}] [IxNet] [debug] {msg}' .format (timestamp = dt , msg = msg ))
Original file line number Diff line number Diff line change 90
90
try : unicode = unicode
91
91
except NameError : unicode = str
92
92
93
- from IxNetwork import IxNetError
93
+ from . IxNetwork import IxNetError
94
94
95
95
class IxNetAuthenticationError (Exception ):
96
96
'''IxNet authentication error'''
@@ -120,7 +120,7 @@ def _setDefaults(self):
120
120
self ._async = False
121
121
self ._timeout = None
122
122
self ._transportType = 'WebSocket'
123
- self ._version = '8.50.1501.9 '
123
+ self ._version = '8.50.1501.10 '
124
124
self .OK = '::ixNet::OK'
125
125
self .ERROR = '::ixNet::ERROR'
126
126
self .VERIFY_CERT = False
Original file line number Diff line number Diff line change 21
21
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
22
# THE SOFTWARE.
23
23
24
- from IxNetwork import *
24
+ from . IxNetwork import *
25
25
You can’t perform that action at this time.
0 commit comments