diff --git a/fdroidserver/deploy.py b/fdroidserver/deploy.py index da0e8d8d..6db6ab54 100644 --- a/fdroidserver/deploy.py +++ b/fdroidserver/deploy.py @@ -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: '