Commit 1c8a86ca authored by Michal Čihař's avatar Michal Čihař

Wrap long line

parent 65b8dd1a
...@@ -92,7 +92,10 @@ class EngageLangSitemap(Sitemap): ...@@ -92,7 +92,10 @@ class EngageLangSitemap(Sitemap):
def location(self, item): def location(self, item):
from django.core.urlresolvers import reverse from django.core.urlresolvers import reverse
return reverse('engage-lang', kwargs={'project': item[0].slug, 'lang': item[1].code}) return reverse(
'engage-lang',
kwargs={'project': item[0].slug, 'lang': item[1].code}
)
sitemaps = { sitemaps = {
...@@ -104,4 +107,3 @@ sitemaps = { ...@@ -104,4 +107,3 @@ sitemaps = {
'user': GenericSitemap(user_dict, priority=0.1), 'user': GenericSitemap(user_dict, priority=0.1),
'pages': PagesSitemap(), 'pages': PagesSitemap(),
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment