Fixed #17526 - unnecessary comma in 'Please, see the release notes' removed

Thanks to datakid for the report

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Luke Plant 2012-01-11 10:19:05 +00:00
parent 630a643431
commit e1ba9111ac
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class VersionDirective(Directive):
ret.append(node)
if not is_nextversion:
if len(self.arguments) == 1:
linktext = 'Please, see the release notes </releases/%s>' % (arg0)
linktext = 'Please see the release notes </releases/%s>' % (arg0)
xrefs = roles.XRefRole()('doc', linktext, linktext, self.lineno, self.state)
node.extend(xrefs[0])
node['version'] = arg0