Commit 357441c2 authored by Michal Čihař's avatar Michal Čihař

Strip all % from format strings

parent 934560ac
......@@ -161,9 +161,9 @@ class BaseFormatCheck(TargetCheck):
# We ignore %% as this is really not relevant. However it needs
# to be matched to prevent handling %%s as %s.
if '%' in src_matches:
while '%' in src_matches:
src_matches.remove('%')
if '%' in tgt_matches:
while '%' in tgt_matches:
tgt_matches.remove('%')
if not uses_position:
......
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