diff scripts/update-copyrights.py @ 8224:e63bcce18fef

py3: automatic migration with 2to3 -f unicode
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 06 Feb 2020 02:57:51 +0100
parents f9988201a3c4
children 96b43734025f
line wrap: on
line diff
--- a/scripts/update-copyrights.py	Sun Jan 26 14:12:25 2020 +0100
+++ b/scripts/update-copyrights.py	Thu Feb 06 02:57:51 2020 +0100
@@ -55,7 +55,7 @@
     return (x[0] and -int(x[0][-1]),
             x[0] and int(x[0][0]),
             -len(x[0]),
-            x[1].decode('utf-8').lower().replace(u'\xe9', u'e').replace(u'\u0142', u'l')
+            x[1].decode('utf-8').lower().replace('\xe9', 'e').replace('\u0142', 'l')
         )