Skip to content

Commit e1f0104

Browse files
committed
Linting
1 parent e3d2e36 commit e1f0104

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

readthedocs/core/views/serve.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,6 @@ def sitemap_xml(request, project):
324324
325325
:rtype: django.http.HttpResponse
326326
"""
327-
328327
def priorities_generator():
329328
"""
330329
Generator returning ``priority`` needed by sitemap.xml.
@@ -373,7 +372,7 @@ def changefreqs_generator():
373372
# link without a ``lastmod`` attribute
374373
last_build = version.builds.order_by('-date').first()
375374
if last_build:
376-
element['lastmod'] = last_build.date.isoformat(),
375+
element['lastmod'] = last_build.date.isoformat()
377376

378377
if project.translations.exists():
379378
for translation in project.translations.all():

0 commit comments

Comments
 (0)