mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #28860 -- Removed unnecessary len() calls.
This commit is contained in:
committed by
Tim Graham
parent
3d94ee8500
commit
d2afa5eb23
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user