Sha256: e745751706d822f1afb08c139ba26b7c62db24ce718e848c26198b4a39ee3e90

Contents?: true

Size: 753 Bytes

Versions: 27

Compression:

Stored size: 753 Bytes

Contents

--- a/tools/icu/icutrim.py	2020-11-03 16:54:23.000000000 +0100
+++ b/tools/icu/icutrim.py	2020-11-03 16:54:27.000000000 +0100
@@ -316,7 +316,10 @@
             erritems = fi.readlines()
             fi.close()
             #Item zone/zh_Hant_TW.res depends on missing item zone/zh_Hant.res
-            pat = re.compile(bytes(r"^Item ([^ ]+) depends on missing item ([^ ]+).*", 'utf-8'))
+            if str == bytes:
+              pat = re.compile(bytes(r"^Item ([^ ]+) depends on missing item ([^ ]+).*"))
+            else:
+              pat = re.compile(bytes(r"^Item ([^ ]+) depends on missing item ([^ ]+).*", 'utf-8'))
             for i in range(len(erritems)):
                 line = erritems[i].strip()
                 m = pat.match(line)

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
libv8-node-22.7.0.4 patch/py2-icutrim.patch
libv8-node-22.7.0.3 patch/py2-icutrim.patch
libv8-node-22.7.0.2 patch/py2-icutrim.patch
libv8-node-22.7.0.1 patch/py2-icutrim.patch
libv8-node-22.5.1.0 patch/py2-icutrim.patch
libv8-node-21.7.2.0 patch/py2-icutrim.patch
libv8-node-20.12.1.0 patch/py2-icutrim.patch
libv8-node-18.19.1.0 patch/py2-icutrim.patch
libv8-node-18.19.0.0 patch/py2-icutrim.patch
libv8-node-18.16.0.0 patch/py2-icutrim.patch
libv8-node-16.20.0.0 patch/py2-icutrim.patch
libv8-node-20.2.0.0 patch/py2-icutrim.patch
libv8-node-19.9.0.0 patch/py2-icutrim.patch
libv8-node-18.13.0.1 patch/py2-icutrim.patch
libv8-node-17.9.1.1 patch/py2-icutrim.patch
libv8-node-16.19.0.1 patch/py2-icutrim.patch
libv8-node-16.19.0.0 patch/py2-icutrim.patch
libv8-node-18.13.0.0 patch/py2-icutrim.patch
libv8-node-17.9.1.0 patch/py2-icutrim.patch
libv8-node-18.8.0.0 patch/py2-icutrim.patch