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

common: support PosixPath in log message

This commit is contained in:
Jochen Sprickerhof 2023-02-16 15:17:14 +01:00
parent 7e362a708c
commit 04230dc7c0
No known key found for this signature in database
GPG Key ID: 5BFFDCC258E69433

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):