From ee86426fecb454f0a25ebb22cde78002d38cf4aa Mon Sep 17 00:00:00 2001 From: German Service Network Date: Sun, 19 Jul 2020 10:35:22 +0200 Subject: [PATCH] Merge github 80e2657 (Further fix error handling in raspbmirror.) --- raspbmirror.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raspbmirror.py b/raspbmirror.py index bbb7fd8..7a29631 100644 --- a/raspbmirror.py +++ b/raspbmirror.py @@ -99,7 +99,7 @@ def ensuresafepath(path): sys.exit(1) for component in pathsplit: if not pfnallowed.fullmatch(component): - logging.info("component "+ascii(component)+" contains unexpected characters") + logging.info("component "+ascii(component)+" in path "+ascii(path)+" contains unexpected characters") sys.exit(1) elif component[0] == '.': logging.info("filenames starting with a dot are not allowed") -- 2.43.0