reformat code according to pep8

This commit is contained in:
VirtuBox
2019-04-29 02:06:32 +02:00
parent 0508592d2a
commit 9de9ba8637
6 changed files with 57 additions and 51 deletions

View File

@@ -112,7 +112,7 @@ class WOMysql():
" --single-transaction".format(dbs),
stdout=subprocess.PIPE,
stderr=subprocess.PIPE, shell=True)
p2 = subprocess.Popen("gzip -c > /var/wo-mysqlbackup/{0}{1}.s"
p2 = subprocess.Popen("pigz -c > /var/wo-mysqlbackup/{0}{1}.s"
"ql.gz".format(dbs, WOVariables.wo_date),
stdin=p1.stdout,
shell=True)