upload_symbols: give some feedback
Change-Id: I2a1faa91ec502cfe8b62324f8fa80264bdb9d31f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160197 Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
parent
6b41d3f677
commit
5b78bb218c
1 changed files with 5 additions and 1 deletions
|
@ -48,7 +48,11 @@ def main():
|
|||
|
||||
data['csrfmiddlewaretoken'] = csrftoken
|
||||
|
||||
session.post(upload_url, headers=headers, files=files, data=data)
|
||||
response = session.post(upload_url, headers=headers, files=files, data=data)
|
||||
if response.ok:
|
||||
print("Symbols uploaded successfully")
|
||||
else:
|
||||
print(response.text)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Reference in a new issue