mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #28860 -- Removed unnecessary len() calls.
This commit is contained in:
parent
3d94ee8500
commit
d2afa5eb23
33 changed files with 56 additions and 55 deletions
|
@ -277,7 +277,7 @@ class DjangoHTMLTranslator(HTMLTranslator):
|
|||
if version_text:
|
||||
title = "%s%s" % (
|
||||
version_text % node['version'],
|
||||
":" if len(node) else "."
|
||||
":" if node else "."
|
||||
)
|
||||
self.body.append('<span class="title">%s</span> ' % title)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue