Skip to content

Commit

Permalink
Fix LGTM warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Junchao-Mellanox committed Oct 16, 2020
1 parent 2e3ef5b commit 30bad8c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 43 deletions.
1 change: 0 additions & 1 deletion platform/mellanox/mlnx-platform-api/sonic_platform/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ def get_presence(self):
Returns:
bool: True if fan is present, False if not
"""
status = 0
if self.is_psu_fan:
return self.psu.get_presence() and self.psu.get_powergood_status() and os.path.exists(os.path.join(FAN_PATH, self.fan_presence_path))
else:
Expand Down
42 changes: 0 additions & 42 deletions platform/mellanox/mlnx-platform-api/sonic_platform/utils.py

This file was deleted.

0 comments on commit 30bad8c

Please sign in to comment.