From: Armin Ronacher Date: Thu, 25 Jul 2013 07:26:06 +0000 (+0200) Subject: Some codestyle updates in babel.messages.checkers X-Git-Tag: 1.0~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e685740a25eebb3857253e4e9e737137bad9933c;p=thirdparty%2Fbabel.git Some codestyle updates in babel.messages.checkers --- diff --git a/babel/messages/checkers.py b/babel/messages/checkers.py index de46e995..24ecdcfe 100644 --- a/babel/messages/checkers.py +++ b/babel/messages/checkers.py @@ -14,6 +14,7 @@ from babel.messages.catalog import TranslationError, PYTHON_FORMAT from babel._compat import string_types, izip + #: list of format chars that are compatible to each other _string_format_compatibilities = [ set(['i', 'd', 'u']), @@ -87,7 +88,6 @@ def _validate_format(format, alternative): :param format: The original format string :param alternative: The alternative format string that should be checked against format - :return: None on success :raises TranslationError: on formatting errors """