Skip to content

Commit

Permalink
[device/accton] Correct exception function name (#1249)
Browse files Browse the repository at this point in the history
NotImplementedErro(r)

Signed-off-by: Phil Huang <phil_huang@edge-core.com>
  • Loading branch information
pichuang authored and lguohan committed Dec 19, 2017
1 parent f0d59cb commit 6e05b67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions device/accton/x86_64-accton_as7712_32x-r0/plugins/sfputil.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ def reset(self, port_num):
return True

def set_low_power_mode(self, port_nuM, lpmode):
raise NotImplementedErro
raise NotImplementedError

def get_low_power_mode(self, port_num):
raise NotImplementedErro
raise NotImplementedError

def get_presence(self, port_num):
# Check for invalid port_num
Expand Down

0 comments on commit 6e05b67

Please sign in to comment.