mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-10 17:20:29 +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()
|
||||
|
||||
page = 'https://androidobservatory.org'
|
||||
message = ''
|
||||
if href:
|
||||
message = (_('Found {apkfilename} at {url}')
|
||||
.format(apkfilename=apkfilename, url=(page + href)))
|
||||
if message:
|
||||
logging.debug(message)
|
||||
return
|
||||
|
||||
# upload the file with a post request
|
||||
logging.info(_('Uploading {apkfilename} to androidobservatory.org')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue