Skip to content

Commit 4fa86dc

Browse files
committed
Fix print function called without parenthesis
1 parent e306b25 commit 4fa86dc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

windows-installer/build.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def mkdir(s):
3737

3838
# copies a file to 'dest'
3939
def copyFile(src, dest, use_text_mode=False,enc=None):
40-
print 'copying "%s" to "%s"' % (src, dest)
40+
print('copying "%s" to "%s"' % (src, dest))
4141
if use_text_mode:
4242
r, w = 'r', 'w'
4343
else:
@@ -53,7 +53,7 @@ def copyFile(src, dest, use_text_mode=False,enc=None):
5353

5454
# recursively copies a directory to 'dest'
5555
def copyDir(src, dest):
56-
print 'copying "%s" to "%s"' % (src, dest)
56+
print('copying "%s" to "%s"' % (src, dest))
5757
mkdir(dest)
5858
for f in os.listdir(src):
5959
s = os.path.join(src, f)
@@ -128,7 +128,7 @@ def extract_tag(s, start, end):
128128
for s in glob.glob('..\\po\\*.po'):
129129
lang = s[16:-3]
130130
# Diffuse localisations
131-
print 'Compiling %s translation' % (lang, )
131+
print('Compiling %s translation' % (lang, ))
132132
d = 'dist'
133133
for p in [ 'locale', lang, 'LC_MESSAGES' ]:
134134
d = os.path.join(d, p)
@@ -236,4 +236,4 @@ def extract_tag(s, start, end):
236236
# Declare success.
237237
#
238238

239-
print 'Successfully created "%s".' % (INSTALLER, )
239+
print('Successfully created "%s".' % (INSTALLER, ))

0 commit comments

Comments
 (0)