1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-18 20:50:10 +01:00

Merge branch 'fix_path' into 'master'

common: support PosixPath in log message

See merge request fdroid/fdroidserver!1300
This commit is contained in:
Jochen Sprickerhof 2023-02-16 20:09:56 +00:00
commit b1ad5cd4fd

View File

@ -1619,7 +1619,7 @@ def fetch_real_name(app_dir, flavours):
for path in manifest_paths(app_dir, flavours): for path in manifest_paths(app_dir, flavours):
if not path.suffix == '.xml' or not path.is_file(): if not path.suffix == '.xml' or not path.is_file():
continue continue
logging.debug("fetch_real_name: Checking manifest at " + path) logging.debug("fetch_real_name: Checking manifest at %s" % path)
try: try:
xml = parse_xml(path) xml = parse_xml(path)
except (XMLElementTree.ParseError, ValueError): except (XMLElementTree.ParseError, ValueError):