mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02:00
Make python3-biplist optional
This commit is contained in:
parent
e3d319f30b
commit
60371093e2
@ -46,7 +46,6 @@ except ImportError:
|
||||
|
||||
import collections
|
||||
from binascii import hexlify
|
||||
from biplist import readPlist
|
||||
|
||||
from . import _
|
||||
from . import common
|
||||
@ -555,7 +554,10 @@ def process_ipa(repodir, apks):
|
||||
logging.error(_("Deleting unknown file: {path}").format(path=f))
|
||||
os.remove(f)
|
||||
|
||||
for f in glob.glob(os.path.join(repodir, '*.ipa')):
|
||||
ipas = glob.glob(os.path.join(repodir, '*.ipa'))
|
||||
if ipas:
|
||||
from biplist import readPlist
|
||||
for f in ipas:
|
||||
ipa = {}
|
||||
apks.append(ipa)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user