mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
deploy: ensure progress is instantiated before trying to use it
This commit is contained in:
parent
4c225f02d2
commit
e03915e391
1 changed files with 4 additions and 3 deletions
|
@ -805,9 +805,10 @@ def upload_to_servergitmirror(
|
|||
| git.remote.PushInfo.REMOTE_REJECTED
|
||||
):
|
||||
# Show potentially useful messages from git remote
|
||||
for line in progress.other_lines:
|
||||
if line.startswith('remote:'):
|
||||
logging.debug(line)
|
||||
if progress:
|
||||
for line in progress.other_lines:
|
||||
if line.startswith('remote:'):
|
||||
logging.debug(line)
|
||||
raise FDroidException(
|
||||
remote.url
|
||||
+ ' push failed: '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue