We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c9e6e3 commit 4a8ff91Copy full SHA for 4a8ff91
roundup/cgi/TAL/talgettext.py
@@ -66,12 +66,6 @@
66
67
NLSTR = '"\n"'
68
69
-try:
70
- True
71
-except NameError:
72
- True=1
73
- False=0
74
-
75
def usage(code, msg=''):
76
# Python 2.1 required
77
print(__doc__, file=sys.stderr)
roundup/dist/command/build.py
@@ -49,7 +49,8 @@ def build_message_files(command):
49
_build_dst = os.path.join("build", _dst)
50
command.mkpath(os.path.dirname(_build_dst))
51
command.announce("Compiling %s -> %s" % (_src, _build_dst))
52
- msgfmt.make(_src, _build_dst)
+ mo = msgfmt.Msgfmt(_src).get()
53
+ open(_build_dst, 'wb').write(mo)
54
55
56
class build(base):
0 commit comments