aboutsummaryrefslogtreecommitdiff
path: root/po/xml2po.py
diff options
context:
space:
mode:
Diffstat (limited to 'po/xml2po.py')
-rwxr-xr-xpo/xml2po.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/po/xml2po.py b/po/xml2po.py
index c517517b..cfbeaf4b 100755
--- a/po/xml2po.py
+++ b/po/xml2po.py
@@ -57,7 +57,7 @@ for arg in sys.argv[1:]:
if c:
for l in c.split('\n'):
print "#. ", l
- if str(k) != "":
+ if str(k).strip() != "":
print 'msgid "' + str(k) + '"'
print 'msgstr ""'