typos. gorram typos.

This commit is contained in:
brent s 2017-10-25 03:22:05 -04:00
parent b651901b91
commit 58736f7f95

View File

@ -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()