Commit e47aaa13 authored by Michal Čihař's avatar Michal Čihař

Do not add empty location to export

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent ae449a7b
......@@ -82,6 +82,7 @@ class BaseExporter(object):
output.target = multistring(unit.target)
output.context = unit.context
for location in unit.location.split():
if location:
output.addlocation(location)
output.addnote(unit.comment)
if hasattr(output, 'settypecomment'):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment