mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Move requests code out of common.py, closes #114
This commit is contained in:
parent
3bc0d43786
commit
04e6f2ebfd
4 changed files with 42 additions and 17 deletions
|
|
@ -24,6 +24,7 @@ from optparse import OptionParser
|
|||
import logging
|
||||
|
||||
import common
|
||||
import net
|
||||
from common import FDroidException
|
||||
|
||||
options = None
|
||||
|
|
@ -78,7 +79,7 @@ def main():
|
|||
os.remove(remoteapk)
|
||||
url = 'https://f-droid.org/repo/' + apkfilename
|
||||
logging.info("...retrieving " + url)
|
||||
common.download_file(url, dldir=tmp_dir)
|
||||
net.download_file(url, dldir=tmp_dir)
|
||||
|
||||
compare_result = common.compare_apks(
|
||||
os.path.join(unsigned_dir, apkfilename),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue