deploy: ensure progress is instantiated before trying to use it

This commit is contained in:
Hans-Christoph Steiner 2022-06-28 15:32:16 +02:00 committed by linsui
parent 4c225f02d2
commit e03915e391

View file

@ -805,6 +805,7 @@ def upload_to_servergitmirror(
| git.remote.PushInfo.REMOTE_REJECTED | git.remote.PushInfo.REMOTE_REJECTED
): ):
# Show potentially useful messages from git remote # Show potentially useful messages from git remote
if progress:
for line in progress.other_lines: for line in progress.other_lines:
if line.startswith('remote:'): if line.startswith('remote:'):
logging.debug(line) logging.debug(line)