Skip to content

Commit

Permalink
Merge pull request #5747 from TTz0601/build_0809
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Richter <[email protected]>
  • Loading branch information
richtja authored Aug 14, 2023
2 parents 5d72c04 + fcf9546 commit 28245ac
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions avocado/utils/softwareraid.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ def __init__(self, name, level, disks, metadata, spare_disks=None):
self.metadata = metadata
self.disks = disks
self.remadd = ""
if not spare_disks:
self.spare_disks = []
else:
self.spare_disks = spare_disks
self.spare_disks = spare_disks or []

def _run_command(self, cmd, log_details=True, check_recovery=False):
if process.system(cmd, ignore_status=True, shell=True) != 0:
Expand Down

0 comments on commit 28245ac

Please sign in to comment.