Skip to content

Commit 53eeb3a

Browse files
authored
Move scripts to python3 (#284)
1 parent 9087224 commit 53eeb3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: scripts/checksnippets.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ def __str__(self):
4949

5050

5151
def checkSnippets(folder):
52-
print 'Checking snippets in folder: {}'.format(folder)
52+
print('Checking snippets in folder: {}'.format(folder))
5353
javaFiles = findFileWithPattern(folder, '*.java')
5454

5555
for f in javaFiles:
5656
checkJavaFile(folder, f)
5757

58-
print 'Done'
58+
print('Done')
5959

6060

6161
def checkJavaFile(folder, javaFile):
@@ -81,7 +81,7 @@ def checkJavaFile(folder, javaFile):
8181
if len(regionDiff) > 0:
8282
raise RegionTagMismatch(kotlinName, regionDiff)
8383

84-
print 'SUCCESS: {} <--> {}'.format(javaName, kotlinName)
84+
print('SUCCESS: {} <--> {}'.format(javaName, kotlinName))
8585

8686

8787
def regionsInFile(path):

0 commit comments

Comments
 (0)