From 5d754984a32242ad9ad2623da165d2624485959a Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Fri, 4 Jan 2013 12:39:42 +0100 Subject: [PATCH] fixed pep8 errors --- openslides/assignment/views.py | 2 +- openslides/participant/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openslides/assignment/views.py b/openslides/assignment/views.py index f5e244732..6f95b44e0 100644 --- a/openslides/assignment/views.py +++ b/openslides/assignment/views.py @@ -318,7 +318,7 @@ class AssignmentPollDelete(DeleteView): return reverse('assignment_view', args=[self.assignment.id]) def get_success_message(self): - return _('Ballot was successfully deleted.') % self.object + return _('Ballot was successfully deleted.') % self.object class AssignmentPDF(PDFView): diff --git a/openslides/participant/views.py b/openslides/participant/views.py index bae5f0a69..ded8a55c7 100644 --- a/openslides/participant/views.py +++ b/openslides/participant/views.py @@ -471,7 +471,7 @@ def login(request): extra_content = {} try: admin = User.objects.get(pk=1) - if admin.check_password(admin.default_password): + if admin.check_password(admin.default_password): extra_content['first_time_message'] = _( "Installation was successfully! Use %(user)s " "(password: %(password)s) for first login.
"