mirror of https://github.com/zulip/zulip.git
pep8: Add compliance with rule E261 to pg_backup_and_purge.py.
This commit is contained in:
parent
e83b703780
commit
b677689fea
|
@ -47,7 +47,7 @@ with open('/var/lib/nagios_state/last_postgres_backup', 'w') as f:
|
||||||
f.write(now.isoformat())
|
f.write(now.isoformat())
|
||||||
f.write("\n")
|
f.write("\n")
|
||||||
|
|
||||||
backups = {} # type: Dict[datetime, str]
|
backups = {} # type: Dict[datetime, str]
|
||||||
lines = run(['env-wal-e', 'backup-list']).split("\n")
|
lines = run(['env-wal-e', 'backup-list']).split("\n")
|
||||||
for line in lines[1:]:
|
for line in lines[1:]:
|
||||||
if line:
|
if line:
|
||||||
|
|
Loading…
Reference in New Issue