mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
*: pylint: Don't inherit from 'object'
- This was required in Python 2 but useless in Python 3. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
c73f88b925
commit
bfa11beb73
6 files changed
+6
-6
No files matched your search
@@ -24,7 +24,7 @@ from .forms import (CreateUserForm, FirstBootForm, UserChangePasswordForm,
|
||||
UserUpdateForm)
|
||||
|
||||
|
||||
class ContextMixin(object):
|
||||
class ContextMixin:
|
||||
"""Mixin to add 'title' to the template context."""
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
|
||||
Reference in new issue
Block a user