cosmetic: Minor yapf and other fixes

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Joseph Nuthalapati authored and James Valleroy committed 2020-04-04 09:31:57 -04:00
1 parent 09583f3bbe
commit d2993236e3
7 files changed
+11 -2

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ from . import get_last_admin_user
from .components import UsersAndGroups
class ValidNewUsernameCheckMixin(object):
class ValidNewUsernameCheckMixin:
"""Mixin to check if a username is valid for created new user."""
def clean_username(self):
+1
View File
@@ -10,6 +10,7 @@ from django import urls
from django.contrib.auth.models import User
from django.contrib.messages.storage.fallback import FallbackStorage
from django.core.exceptions import PermissionDenied
from plinth import module_loader
from plinth.modules.users import views