X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=i18n.py;h=26a8a10ec3041ad2bd3592b6eb7f485d6f021c59;hb=41d32a43f761fd2d79dacf9a84374a6d17916d36;hp=807aedda6b6d92444df48dabe63498a2cef1e4d4;hpb=373f010a7f04add1f49169cbaa60cb7ae5f508d4;p=dcpomatic.git diff --git a/i18n.py b/i18n.py index 807aedda6..26a8a10ec 100644 --- a/i18n.py +++ b/i18n.py @@ -3,12 +3,12 @@ import os from waflib import Logs def command(c): - print c + print(c) os.system(c) def pot(dir, sources, name): s = "" - for f in sources.split('\n'): + for f in sources.split(): t = f.strip() if len(t) > 0: s += (os.path.join(dir, t)) + " "