]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Some codestyle updates in babel.messages.checkers
authorArmin Ronacher <armin.ronacher@active-4.com>
Thu, 25 Jul 2013 07:26:06 +0000 (09:26 +0200)
committerArmin Ronacher <armin.ronacher@active-4.com>
Thu, 25 Jul 2013 07:26:06 +0000 (09:26 +0200)
babel/messages/checkers.py

index de46e995a53c0ca7ea50f867d5d019784b042373..24ecdcfedbdc0b7b1a5ad6911b8b65637d72162d 100644 (file)
@@ -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
     """