Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[device/accton] Correct exception function name #1249

Merged
merged 1 commit into from
Dec 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[device/accton] Correct exception function name
NotImplementedErro(r)

Signed-off-by: Phil Huang <[email protected]>
Phil Huang committed Dec 19, 2017

Verified

This commit was signed with the committer’s verified signature.
serban300 Serban Iorga
commit e0480205f0a2ab2880b51d1a6e192ef1f0d12368
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
@@ -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