1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Removed unreachable code

This commit is contained in:
Andriy Sokolovskiy
2015-06-29 23:29:18 +03:00
committed by Tim Graham
parent aef2a0ec59
commit 4359be023b
2 changed files with 0 additions and 10 deletions

View File

@@ -104,7 +104,6 @@ def render_to_string(template_name, context=None,
raise ValueError(
"render_to_string doesn't support the request argument "
"when some deprecated arguments are passed.")
continue
# Hack -- use the internal Engine instance of DjangoTemplates.
return engine.engine.render_to_string(
template_name, context, context_instance, dirs, dictionary)