Skip to content

Commit

Permalink
[DellEMC Z9332f] Remove duplicate ipmihelper.py script (#6536)
Browse files Browse the repository at this point in the history
Fixes #6445

Because the ipmihelper.py script in the 9332 folder is slightly different than the common one (due to LGTM fixes), when the common one gets copied during build time it causes the workspace/build to become dirty.

Signed-off-by: Danny Allen <[email protected]>
  • Loading branch information
daall authored and lguohan committed Jan 24, 2021
1 parent 1239310 commit bedd05b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 272 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def get_ipmitool_raw_output(args):
proc.wait()
if not proc.returncode:
result = stdout.rstrip('\n')
except:
except EnvironmentError:
pass

for i in result.split():
Expand Down Expand Up @@ -180,7 +180,7 @@ def _get_ipmitool_fru_print(self):
proc.wait()
if not proc.returncode:
result = stdout.decode('utf-8').rstrip('\n')
except:
except EnvironmentError:
pass

return result
Expand Down Expand Up @@ -253,7 +253,7 @@ def get_fru_data(self, offset, count=1):
proc.wait()
if not proc.returncode:
result = stdout.decode('utf-8').rstrip('\n')
except:
except EnvironmentError:
is_valid = False

if (not result) or (not is_valid):
Expand Down

This file was deleted.

0 comments on commit bedd05b

Please sign in to comment.