mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +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
|
|
@ -34,6 +34,7 @@ from distutils.version import LooseVersion
|
|||
import logging
|
||||
|
||||
import common
|
||||
import net
|
||||
import metadata
|
||||
import scanner
|
||||
from common import FDroidException, BuildException, VCSException, FDroidPopen, SdkToolsPopen
|
||||
|
|
@ -1093,7 +1094,7 @@ def main():
|
|||
logging.info("...retrieving " + url)
|
||||
of = "{0}_{1}.apk.binary".format(app['id'], thisbuild['vercode'])
|
||||
of = os.path.join(output_dir, of)
|
||||
common.download_file(url, local_filename=of)
|
||||
net.download_file(url, local_filename=of)
|
||||
|
||||
build_succeeded.append(app)
|
||||
wikilog = "Build succeeded"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue