Browse files

Removed a comment in django/template/__init__.py that suggests we wou…

…ld do 'crazy stack-frame stuff'

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 98d3da6 commit eb95a50cd699d25b4694ae012ff31a92ee2d1049 @adrianholovaty adrianholovaty committed Dec 22, 2007
Showing with 0 additions and 2 deletions.
  1. +0 −2 django/template/__init__.py
View
2 django/template/__init__.py
@@ -161,8 +161,6 @@ def __init__(self, template_string, origin=None, name='<Unknown Template>'):
raise TemplateEncodingError("Templates can only be constructed from unicode or UTF-8 strings.")
if settings.TEMPLATE_DEBUG and origin is None:
origin = StringOrigin(template_string)
- # Could do some crazy stack-frame stuff to record where this string
- # came from...
self.nodelist = compile_string(template_string, origin)
self.name = name

0 comments on commit eb95a50

Please sign in to comment.