mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
pylint: Reenable E1101 no-member
This commit is contained in:
parent
1dcb863f55
commit
abc752314b
7 changed files with 11 additions and 3 deletions
|
@ -33,7 +33,6 @@ import shutil
|
|||
from . import _
|
||||
from . import common
|
||||
from . import index
|
||||
from . import update
|
||||
from .exception import FDroidException
|
||||
|
||||
config = None
|
||||
|
@ -524,7 +523,7 @@ def upload_apk_to_android_observatory(path):
|
|||
|
||||
apkfilename = os.path.basename(path)
|
||||
r = requests.post('https://androidobservatory.org/',
|
||||
data={'q': update.sha256sum(path), 'searchby': 'hash'},
|
||||
data={'q': common.sha256sum(path), 'searchby': 'hash'},
|
||||
headers=net.HEADERS, timeout=300)
|
||||
if r.status_code == 200:
|
||||
# from now on XPath will be used to retrieve the message in the HTML
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue