Browse files

[1.4.X] Fixed #18104 -- Added missing parentheses around two-lines de…

…precation 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
  • Loading branch information...
1 parent 8ed9e90 commit ee43524e227c13fc1dcef819fb1a37322b7ba3c9 @claudep claudep committed Apr 11, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/markup/templatetags/markup.py
View
4 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)

0 comments on commit ee43524

Please sign in to comment.