From 5dd42b85a5b07ed931399c4e19863cc7893da53c Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Tue, 8 Jan 2013 21:42:25 +0100 Subject: [PATCH] fix 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 34cb032a0..32de514e3 100644 --- a/openslides/participant/views.py +++ b/openslides/participant/views.py @@ -478,7 +478,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.
"