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

Coding style fixes

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent f46cbc6f
......@@ -508,12 +508,15 @@ class FileFormat(object):
if search_unit.getid() == context:
return search_unit
def _find_unit_template(self, context):
# Need to create new unit based on template
template_ttkit_unit = self._find_unit_mono(context, self.template_store)
template_ttkit_unit = self._find_unit_mono(
context, self.template_store
)
# We search by ID when using template
ttkit_unit = self._find_unit_mono(context, self.store)
ttkit_unit = self._find_unit_mono(
context, self.store
)
# We always need new unit to translate
if ttkit_unit is None:
......
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