diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-08-24 13:18:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 13:18:19 +0300 |
commit | 499f8a435ea1d148548dd933e06e11c16efce631 (patch) | |
tree | 7f1a9f2bbcd1b985c1fc785665daccfced3ec3c1 | |
parent | db559636051b16459a7d4c9f5b6dbaf3f4fc20d7 (diff) | |
parent | f93b933c2b2dfd1f847b7ce8c7bc4f1e3c37ab38 (diff) |
Merge pull request #922 from nextcloud/handle-malformatted-tar-files2
Fix test
-rw-r--r-- | nextcloudappstore/api/v1/release/parser.py | 2 | ||||
-rw-r--r-- | nextcloudappstore/scaffolding/tests/data/info.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nextcloudappstore/api/v1/release/parser.py b/nextcloudappstore/api/v1/release/parser.py index 8d78629365..02e649ddb2 100644 --- a/nextcloudappstore/api/v1/release/parser.py +++ b/nextcloudappstore/api/v1/release/parser.py @@ -170,7 +170,7 @@ def test_blacklisted_members(tar, blacklist): try: if tar.getmember(n).isdir(): names.append(n) - except: + except KeyError: pass for name in names: diff --git a/nextcloudappstore/scaffolding/tests/data/info.xml b/nextcloudappstore/scaffolding/tests/data/info.xml index 4cbb4718c0..b2dbbb8754 100644 --- a/nextcloudappstore/scaffolding/tests/data/info.xml +++ b/nextcloudappstore/scaffolding/tests/data/info.xml @@ -12,7 +12,7 @@ <category>tools</category> <bugs>https://test.com</bugs> <dependencies> - <nextcloud min-version="14" max-version="14"/> + <nextcloud min-version="23" max-version="23"/> </dependencies> <navigations> <navigation> |