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:
Daniel Martí 2015-10-26 16:29:26 +01:00
parent da92845f9c
commit d141bd1be0

View file

@ -324,10 +324,6 @@ def possible_subdirs(app):
build = app['builds'][-1] build = app['builds'][-1]
if build['gradle']: if build['gradle']:
flavours = 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): for d in dirs_with_manifest(build_dir):
m_paths = common.manifest_paths(d, flavours) m_paths = common.manifest_paths(d, flavours)