[device/accton] Correct exception function name (#1249)
NotImplementedErro(r) Signed-off-by: Phil Huang <phil_huang@edge-core.com>
This commit is contained in:
parent
f0d59cb002
commit
6e05b67070
@ -83,10 +83,10 @@ class SfpUtil(SfpUtilBase):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def set_low_power_mode(self, port_nuM, lpmode):
|
def set_low_power_mode(self, port_nuM, lpmode):
|
||||||
raise NotImplementedErro
|
raise NotImplementedError
|
||||||
|
|
||||||
def get_low_power_mode(self, port_num):
|
def get_low_power_mode(self, port_num):
|
||||||
raise NotImplementedErro
|
raise NotImplementedError
|
||||||
|
|
||||||
def get_presence(self, port_num):
|
def get_presence(self, port_num):
|
||||||
# Check for invalid port_num
|
# Check for invalid port_num
|
||||||
|
Loading…
Reference in New Issue
Block a user