mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-15 03:20:10 +01:00
deploy: ensure progress is instantiated before trying to use it
This commit is contained in:
parent
4c225f02d2
commit
e03915e391
@ -805,9 +805,10 @@ 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
|
||||||
for line in progress.other_lines:
|
if progress:
|
||||||
if line.startswith('remote:'):
|
for line in progress.other_lines:
|
||||||
logging.debug(line)
|
if line.startswith('remote:'):
|
||||||
|
logging.debug(line)
|
||||||
raise FDroidException(
|
raise FDroidException(
|
||||||
remote.url
|
remote.url
|
||||||
+ ' push failed: '
|
+ ' push failed: '
|
||||||
|
Loading…
Reference in New Issue
Block a user