Move requests code out of common.py, closes #114

This commit is contained in:
Daniel Martí 2015-08-31 17:05:08 -07:00
parent 3bc0d43786
commit 04e6f2ebfd
4 changed files with 42 additions and 17 deletions

View file

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