mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-11 01:30:30 +03:00
deploy: stop uploading to androidobservatory if its already up there
This commit is contained in:
parent
30f2d62597
commit
1106795583
1 changed files with 1 additions and 2 deletions
|
|
@ -492,12 +492,11 @@ def upload_apk_to_android_observatory(path):
|
||||||
href = m.group()
|
href = m.group()
|
||||||
|
|
||||||
page = 'https://androidobservatory.org'
|
page = 'https://androidobservatory.org'
|
||||||
message = ''
|
|
||||||
if href:
|
if href:
|
||||||
message = (_('Found {apkfilename} at {url}')
|
message = (_('Found {apkfilename} at {url}')
|
||||||
.format(apkfilename=apkfilename, url=(page + href)))
|
.format(apkfilename=apkfilename, url=(page + href)))
|
||||||
if message:
|
|
||||||
logging.debug(message)
|
logging.debug(message)
|
||||||
|
return
|
||||||
|
|
||||||
# upload the file with a post request
|
# upload the file with a post request
|
||||||
logging.info(_('Uploading {apkfilename} to androidobservatory.org')
|
logging.info(_('Uploading {apkfilename} to androidobservatory.org')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue