pylint: Reenable E1101 no-member

This commit is contained in:
FestplattenSchnitzel 2023-03-05 12:02:51 +01:00 committed by Hans-Christoph Steiner
parent 1dcb863f55
commit abc752314b
7 changed files with 11 additions and 3 deletions

View file

@ -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