begin transition to print being a function

This commit is contained in:
Marcos Pinto 2008-07-18 06:14:15 +00:00
commit a218f0e6a2
6 changed files with 46 additions and 50 deletions

View file

@ -215,13 +215,13 @@ class build_trans(cmd.Command):
if not os.path.exists(dest_path):
os.makedirs(dest_path)
if not os.path.exists(dest):
print 'Compiling %s' % src
print('Compiling %s' % src)
msgfmt.make(src, dest)
else:
src_mtime = os.stat(src)[8]
dest_mtime = os.stat(dest)[8]
if src_mtime > dest_mtime:
print 'Compiling %s' % src
print('Compiling %s' % src)
msgfmt.make(src, dest)
class build(_build):