summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2012-04-11 17:20:59 +0000
committerClaude Paroz <claude@2xlibre.net>2012-04-11 17:20:59 +0000
commitee43524e227c13fc1dcef819fb1a37322b7ba3c9 (patch)
tree722ac9cd285fe32a30c688a0bf61dde4aed392a4
parent8ed9e9074c9841c0e5e6b35d659fdc7c654eea93 (diff)
[1.4.X] Fixed #18104 -- Added missing parentheses around two-lines deprecation string. Thanks Roy Smith for the report.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.4.X@17897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/markup/templatetags/markup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/markup/templatetags/markup.py b/django/contrib/markup/templatetags/markup.py
index b9fdce86a6..3743a85d9e 100644
--- a/django/contrib/markup/templatetags/markup.py
+++ b/django/contrib/markup/templatetags/markup.py
@@ -65,8 +65,8 @@ def markdown(value, arg=''):
safe_mode = True
else:
safe_mode = False
- python_markdown_deprecation = "The use of Python-Markdown "
- "< 2.1 in Django is deprecated; please update to the current version"
+ python_markdown_deprecation = ("The use of Python-Markdown "
+ "< 2.1 in Django is deprecated; please update to the current version")
# Unicode support only in markdown v1.7 or above. Version_info
# exist only in markdown v1.6.2rc-2 or above.
markdown_vers = getattr(markdown, "version_info", None)