mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
checkupdates: don't blindly accept subdir
This is unnecessary because dirs_with_manifest will pick it up anyway. But the problem manifested because we weren't checking the package id here.
This commit is contained in:
parent
da92845f9c
commit
d141bd1be0
1 changed files with 0 additions and 4 deletions
|
|
@ -324,10 +324,6 @@ def possible_subdirs(app):
|
|||
build = app['builds'][-1]
|
||||
if build['gradle']:
|
||||
flavours = build['gradle']
|
||||
subdir = build['subdir']
|
||||
if subdir and os.path.isdir(os.path.join(build_dir, subdir)):
|
||||
logging.debug("Adding possible subdir %s" % subdir)
|
||||
yield subdir
|
||||
|
||||
for d in dirs_with_manifest(build_dir):
|
||||
m_paths = common.manifest_paths(d, flavours)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue