Skip to content

Commit

Permalink
make line shorter | close #3374
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey committed Feb 4, 2016
1 parent d9f94db commit cb527b9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion translate/filters/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,10 @@ def has_unmatched_percents(string):
return False

if has_unmatched_percents(str1) or has_unmatched_percents(str2):
raise FilterFailure(u"One of the strings contains percent sign that is neither part of placeholder or %% literal")
raise FilterFailure(
u"One of the strings contains percent sign "
u"that is neither part of placeholder or %% literal"
)

return 1

Expand Down

0 comments on commit cb527b9

Please sign in to comment.