@@ -58,10 +58,10 @@ def handle(self, *args, **options):
58
58
'messages.po' )
59
59
60
60
if not os .path .isfile (r_messages ):
61
- print " Can't find (%s). Skipping..." % (r_messages )
61
+ print ( " Can't find (%s). Skipping..." % (r_messages ) )
62
62
continue
63
63
64
- print "Mushing python strings into messages.po for %s" % (locale )
64
+ print ( "Mushing python strings into messages.po for %s" % (locale ) )
65
65
66
66
# Step 3: Merge our new combined .pot with the .po file
67
67
if locale == "en_US" :
@@ -90,7 +90,7 @@ def handle(self, *args, **options):
90
90
# commands in the middle of Step 3.
91
91
for domain in standalone_domains :
92
92
93
- print "Merging %s strings to each locale..." % domain
93
+ print ( "Merging %s strings to each locale..." % domain )
94
94
z_domain_keys = os .path .join (locale_dir , 'z-%s.pot' % domain )
95
95
if not os .path .isfile (z_domain_keys ):
96
96
sys .exit ("Can't find z-%s.pot" % domain )
@@ -104,11 +104,11 @@ def handle(self, *args, **options):
104
104
'z-%s.po' % domain )
105
105
106
106
if not os .path .isfile (z_domain_messages ):
107
- print " Can't find (%s). Creating..." % (z_domain_messages )
107
+ print ( " Can't find (%s). Creating..." % (z_domain_messages ) )
108
108
t = open (z_domain_messages , 'w' )
109
109
t .close ()
110
110
111
- print "Merging z-%s.po for %s" % (domain , locale )
111
+ print ( "Merging z-%s.po for %s" % (domain , locale ) )
112
112
113
113
z_domain_keys_file = open (z_domain_keys )
114
114
@@ -133,6 +133,6 @@ def handle(self, *args, **options):
133
133
134
134
p4 .communicate ()
135
135
mergeme .close ()
136
- print "Domain %s finished" % domain
136
+ print ( "Domain %s finished" % domain )
137
137
138
- print "All finished"
138
+ print ( "All finished" )
0 commit comments