chiark / gitweb /
Don't double check package name
authorDaniel Martí <mvdan@mvdan.cc>
Sun, 25 Oct 2015 18:10:23 +0000 (19:10 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Sun, 25 Oct 2015 18:10:23 +0000 (19:10 +0100)
fdroidserver/checkupdates.py

index f6ebc57a851077dc88ff969d649c451311285021..9baccbc031c66362e2c187fcf8cac116b454a31e 100644 (file)
@@ -150,7 +150,7 @@ def check_tags(app, pattern):
                 paths = common.manifest_paths(root_dir, flavours)
                 version, vercode, package = \
                     common.parse_androidmanifests(paths, app['Update Check Ignore'])
-                if app_matches_packagename(app, package) and version and vercode:
+                if vercode:
                     logging.debug("Manifest exists in subdir '{0}'. Found version {1} ({2})"
                                   .format(subdir, version, vercode))
                     if int(vercode) > int(hcode):
@@ -220,7 +220,7 @@ def check_repomanifest(app, branch=None):
             paths = common.manifest_paths(root_dir, flavours)
             version, vercode, package = \
                 common.parse_androidmanifests(paths, app['Update Check Ignore'])
-            if app_matches_packagename(app, package) and version and vercode:
+            if vercode:
                 logging.debug("Manifest exists in subdir '{0}'. Found version {1} ({2})"
                               .format(subdir, version, vercode))
                 if int(vercode) > int(hcode):