[elbe-devel] [PATCH v2 54/75] licencexml: use f-strings

Daniel Braunwarth daniel at braunwarth.dev
Wed Nov 2 20:14:36 CET 2022


Signed-off-by: Daniel Braunwarth <daniel at braunwarth.dev>
---
 elbepack/licencexml.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/licencexml.py b/elbepack/licencexml.py
index 800665b1d..c7b0f7ff0 100644
--- a/elbepack/licencexml.py
+++ b/elbepack/licencexml.py
@@ -16,7 +16,7 @@ from elbepack.treeutils import etree
 
 warnings.simplefilter('error')
 
-remove_re = re.compile(u'[\x00-\x08\x0B-\x0C\x0E-\x1F\x7F]')
+remove_re = re.compile('[\x00-\x08\x0B-\x0C\x0E-\x1F\x7F]')
 
 
 def do_heuristics(fp):
-- 
2.38.1



More information about the elbe-devel mailing list