Fixed grammar error in error message from [1355]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1356 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-11-22 19:41:43 +00:00
parent b58c820558
commit 1663623fad
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class BaseHandler:
try: try:
dot = middleware_path.rindex('.') dot = middleware_path.rindex('.')
except ValueError: except ValueError:
raise exceptions.ImproperlyConfigured, '%s isn\'t look like a middleware module' % middleware_path raise exceptions.ImproperlyConfigured, '%s isn\'t a middleware module' % middleware_path
mw_module, mw_classname = middleware_path[:dot], middleware_path[dot+1:] mw_module, mw_classname = middleware_path[:dot], middleware_path[dot+1:]
try: try:
mod = __import__(mw_module, '', '', ['']) mod = __import__(mw_module, '', '', [''])