Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pymegacli/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self, megacli_path, log=None):

def run_command(self, *args):
exit_re = re.compile('^Exit Code: (.*)$')
cmd = [self.megacli_path] + list(args)
cmd = [self.megacli_path] + list(args) + ['-NoLog']
if self.log:
self.log.debug('executing: ' + ' '.join(map(pipes.quote, cmd)))
p = subprocess.Popen(
Expand Down Expand Up @@ -276,7 +276,7 @@ def patrol_read_status(self):
@property
def PDs(self):
return Disk.from_output(self.parent.run_command(
'-PDList', 'a%d' % self.controller_number
'-PDList', '-a%d' % self.controller_number
), self)

@property
Expand Down