File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ def qsfp_ports(self):
46
46
47
47
@property
48
48
def port_to_eeprom_mapping (self ):
49
- print "dependency on sysfs has been removed"
49
+ print ( "dependency on sysfs has been removed" )
50
50
raise Exception ()
51
51
52
52
def __init__ (self ):
@@ -88,8 +88,8 @@ def qsfp_presence_get(client):
88
88
try :
89
89
presence = thrift_try (qsfp_presence_get )
90
90
except Exception as e :
91
- print e .__doc__
92
- print e .message
91
+ print ( e .__doc__ )
92
+ print ( e .message )
93
93
94
94
return presence
95
95
@@ -167,7 +167,7 @@ def get_transceiver_change_event(self, timeout=0):
167
167
elif timeout > 0 :
168
168
timeout = timeout / float (1000 ) # Convert to secs
169
169
else :
170
- print "get_transceiver_change_event:Invalid timeout value" , timeout
170
+ print ( "get_transceiver_change_event:Invalid timeout value" , timeout )
171
171
return False , {}
172
172
173
173
while forever or timeout > 0 :
You can’t perform that action at this time.
0 commit comments