changeset 366:1cc8aba0363e

Fixed a typo in the message checkers (tests will follow)
author aronacher
date Wed, 25 Jun 2008 17:56:19 +0000
parents 87a95f817145
children 6bc1d13156c9
files babel/messages/checkers.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/babel/messages/checkers.py
+++ b/babel/messages/checkers.py
@@ -159,10 +159,10 @@
             if name not in type_map:
                 raise TranslationError('unknown named placeholder %r' % name)
             elif not _compatible(typechar, type_map[name]):
-                raise TranslationErrorError('incompatible format for '
-                                            'placeholder %r: '
-                                            '%r and %r are not compatible' %
-                                            (name, typechar, type_map[name]))
+                raise TranslationError('incompatible format for '
+                                       'placeholder %r: '
+                                       '%r and %r are not compatible' %
+                                       (name, typechar, type_map[name]))
 
 
 def _find_checkers():
Copyright (C) 2012-2017 Edgewall Software