mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Make python3-biplist optional
This commit is contained in:
parent
e3d319f30b
commit
60371093e2
@ -46,7 +46,6 @@ except ImportError:
|
|||||||
|
|
||||||
import collections
|
import collections
|
||||||
from binascii import hexlify
|
from binascii import hexlify
|
||||||
from biplist import readPlist
|
|
||||||
|
|
||||||
from . import _
|
from . import _
|
||||||
from . import common
|
from . import common
|
||||||
@ -555,7 +554,10 @@ def process_ipa(repodir, apks):
|
|||||||
logging.error(_("Deleting unknown file: {path}").format(path=f))
|
logging.error(_("Deleting unknown file: {path}").format(path=f))
|
||||||
os.remove(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 = {}
|
ipa = {}
|
||||||
apks.append(ipa)
|
apks.append(ipa)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user