From 687823640d954a8bdd4002082694e4579848a4c3 Mon Sep 17 00:00:00 2001 From: James Bennett Date: Thu, 4 Dec 2008 19:34:54 +0000 Subject: [PATCH] [1.0.X] Correct weird typo that crept into [9567]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9568 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/views/static.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/django/views/static.py b/django/views/static.py index ca0f4f0a9a..c8ebf0c22d 100644 --- a/django/views/static.py +++ b/django/views/static.py @@ -91,8 +91,7 @@ DEFAULT_DIRECTORY_INDEX_TEMPLATE = """ def directory_index(path, fullpath): try: - t = loader.get_template('static/directory_index.html - ') + t = loader.get_template('static/directory_index.html') except TemplateDoesNotExist: t = Template(DEFAULT_DIRECTORY_INDEX_TEMPLATE, name='Default directory index template') files = []