Commit 30f11223 authored by Michal Čihař's avatar Michal Čihař

Do not try to parse header on headerless formats

Fixes rb#392
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent c33f4c69
......@@ -901,6 +901,8 @@ class PoFormat(FileFormat):
def merge_header(self, otherstore):
"""Tries to merge headers"""
if not hasattr(self.store, 'updateheader'):
return
values = otherstore.store.parseheader()
skip_list = (
'Plural-Forms',
......
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