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