summaryrefslogtreecommitdiff
path: root/django/template
diff options
context:
space:
mode:
authorAndriy Sokolovskiy <me@asokolovskiy.com>2015-06-29 23:29:18 +0300
committerTim Graham <timograham@gmail.com>2015-08-13 13:12:52 -0400
commitd5e3eb986d590e7e781e82e8199eb3ca6af62161 (patch)
treee367e6d68af50d9644b2715270bda68b56d28f74 /django/template
parent312abecefd795775cb06b08b3eafe3e1f3f1ceef (diff)
[1.8.x] Removed unreachable code
Backport of 4359be023be3f5e5a1d1d89bf8f193d15f49b7a4 from master
Diffstat (limited to 'django/template')
-rw-r--r--django/template/loader.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/django/template/loader.py b/django/template/loader.py
index 90397d9540..ef529c93bd 100644
--- a/django/template/loader.py
+++ b/django/template/loader.py
@@ -110,7 +110,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)