Skip to content

Commit 4b6f378

Browse files
gnrungemarkusicu
authored andcommitted
ICU-21243 Migrates desuffixucd.py to Python 3.
1 parent 55f1cea commit 4b6f378

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unicodetools/data/desuffixucd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
def main():
2525
if len(sys.argv) < 2:
26-
print ("Usage: %s path/to/UCD/root" % sys.argv[0])
26+
print("Usage: %s path/to/UCD/root" % sys.argv[0])
2727
return
2828
ucd_root = sys.argv[1]
2929
source_files = []
@@ -36,7 +36,7 @@ def main():
3636
if match:
3737
new_basename = match.group(1) + match.group(2)
3838
if new_basename != basename:
39-
print "Removing version suffix from " + source_file
39+
print("Removing version suffix from " + source_file)
4040
# ... so that we can easily compare UCD files.
4141
new_source_file = os.path.join(folder, new_basename)
4242
shutil.move(source_file, new_source_file)

0 commit comments

Comments
 (0)