mirror of
https://github.com/django/django.git
synced 2025-08-13 13:29:18 +00:00
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:
parent
630a643431
commit
e1ba9111ac
@ -81,7 +81,7 @@ class VersionDirective(Directive):
|
|||||||
ret.append(node)
|
ret.append(node)
|
||||||
if not is_nextversion:
|
if not is_nextversion:
|
||||||
if len(self.arguments) == 1:
|
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)
|
xrefs = roles.XRefRole()('doc', linktext, linktext, self.lineno, self.state)
|
||||||
node.extend(xrefs[0])
|
node.extend(xrefs[0])
|
||||||
node['version'] = arg0
|
node['version'] = arg0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user