Commit 759f5bde authored by Michal Čihař's avatar Michal Čihař

No need to store result

parent cb40e8b7
......@@ -29,7 +29,7 @@ logger = logging.getLogger('weblate')
def validate_repoweb(val):
try:
test = val % {'file': 'file.po', 'line': '9'}
val % {'file': 'file.po', 'line': '9'}
except Exception, e:
raise ValidationError(_('Bad format string (%s)') % str(e))
......
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