mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 18:08:39 +00:00
begin transition to print being a function
This commit is contained in:
parent
4ac5d43d58
commit
a218f0e6a2
6 changed files with 46 additions and 50 deletions
4
setup.py
4
setup.py
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue