Skip to content

Commit 7405f8c

Browse files
authored
[Accton AS4630-54PE] Fix Python indentation error (#4393)
Fix Python indentation error Add newline at EOF
1 parent 21aff7f commit 7405f8c

File tree

1 file changed

+2
-2
lines changed
  • platform/broadcom/sonic-platform-modules-accton/as4630-54pe/classes

1 file changed

+2
-2
lines changed

platform/broadcom/sonic-platform-modules-accton/as4630-54pe/classes/fanutil.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def _get_fan_node_val(self, fan_num, node_num):
8383
device_path = self.get_fan_device_path(fan_num, node_num)
8484

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

202202
if __name__ == '__main__':
203-
main()
203+
main()

0 commit comments

Comments
 (0)