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

[Accton AS4630-54PE] Fix Python indentation error #4393

Merged
merged 1 commit into from
Apr 9, 2020
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
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def _get_fan_node_val(self, fan_num, node_num):
device_path = self.get_fan_device_path(fan_num, node_num)

try:
val_file = open(device_path, 'r')
val_file = open(device_path, 'r')
except IOError as e:
logging.error('GET. unable to open file: %s', str(e))
return None
Expand Down Expand Up @@ -200,4 +200,4 @@ def main():
logging.debug('fan-%d status=%d', i, fan.get_fan_status(i))

if __name__ == '__main__':
main()
main()