[Accton AS4630-54PE] Fix Python indentation error (#4393)
Fix Python indentation error Add newline at EOF
This commit is contained in:
parent
21aff7fdeb
commit
7405f8cfea
@ -83,7 +83,7 @@ class FanUtil(object):
|
||||
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
|
||||
@ -200,4 +200,4 @@ def main():
|
||||
logging.debug('fan-%d status=%d', i, fan.get_fan_status(i))
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
main()
|
||||
|
Reference in New Issue
Block a user