typos. gorram typos.
This commit is contained in:
parent
b651901b91
commit
58736f7f95
@ -100,7 +100,7 @@ class Backup(object):
|
|||||||
|
|
||||||
def cmdExec(self, cmd, stdoutfh = None):
|
def cmdExec(self, cmd, stdoutfh = None):
|
||||||
self.logger.debug('Running command: {0}'.format(' '.join(cmd)))
|
self.logger.debug('Running command: {0}'.format(' '.join(cmd)))
|
||||||
if self.args['dryryun']:
|
if self.args['dryrun']:
|
||||||
return() # no-op
|
return() # no-op
|
||||||
if outfh:
|
if outfh:
|
||||||
_err = subprocess.run(cmd, stdout = stdoutfh, stderr = subprocess.PIPE).stderr.decode('utf-8').strip()
|
_err = subprocess.run(cmd, stdout = stdoutfh, stderr = subprocess.PIPE).stderr.decode('utf-8').strip()
|
||||||
|
Loading…
Reference in New Issue
Block a user