Code linting

This commit is contained in:
Iacopo Spalletti 2014-06-11 21:25:10 +02:00
parent 5089e5a0af
commit db1ad8b4d8
6 changed files with 7 additions and 7 deletions

View file

@ -22,6 +22,6 @@ class BlogToolbar(CMSToolbar):
current_post = getattr(self.request, BLOG_CURRENT_POST_IDENTIFIER, None)
if current_post and self.request.user.has_perm('djangocms_blog.change_post'): # pragma: no cover
admin_menu.add_modal_item(_('Edit Post'),reverse(
admin_menu.add_modal_item(_('Edit Post'), reverse(
'admin:djangocms_blog_post_change', args=(current_post.pk,)),
active=True)

View file

@ -3,7 +3,6 @@ import datetime
from django.utils.translation import get_language
from django.contrib.auth.models import User
from django.core.urlresolvers import resolve
from django.http import Http404
from django.views.generic import ListView, DetailView
from parler.views import ViewUrlMixin, TranslatableSlugMixin

View file

@ -4,3 +4,4 @@ coveralls
mock>=1.0.1
nose>=1.3.0
django-nose>=1.2
flake8