1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 23:23:27 +02:00

update: move btlog import since btlog.py requires python3-git

To keep the dependencies limited to where they are needed.
This commit is contained in:
Hans-Christoph Steiner 2017-06-15 17:02:46 +02:00
parent 7f9f47496f
commit 5fd014a852

View File

@ -37,7 +37,6 @@ from binascii import hexlify
from PIL import Image
import logging
from . import btlog
from . import common
from . import index
from . import metadata
@ -1695,6 +1694,7 @@ def main():
git_remote = config.get('binary_transparency_remote')
if git_remote or os.path.isdir(os.path.join('binary_transparency', '.git')):
from . import btlog
btlog.make_binary_transparency_log(repodirs)
if config['update_stats']: