From d141bd1be0f06aeeb15f014c5da9358fe325b1ca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Mon, 26 Oct 2015 16:29:26 +0100 Subject: [PATCH] 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. --- fdroidserver/checkupdates.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fdroidserver/checkupdates.py b/fdroidserver/checkupdates.py index 6705b900..9a924922 100644 --- a/fdroidserver/checkupdates.py +++ b/fdroidserver/checkupdates.py @@ -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) -- 2.30.2