Black
This commit is contained in:
parent
b8e165aca5
commit
bbd6a5bb82
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class ENSCASBackend:
|
||||||
i = len(cas_login) - 1
|
i = len(cas_login) - 1
|
||||||
while i >= 0 and cas_login[i] in "0123456789":
|
while i >= 0 and cas_login[i] in "0123456789":
|
||||||
i -= 1
|
i -= 1
|
||||||
radical = cas_login[:i + 1]
|
radical = cas_login[: i + 1]
|
||||||
|
|
||||||
# Find an integer i such that radical + str(i) is not taken.
|
# Find an integer i such that radical + str(i) is not taken.
|
||||||
taken = UserModel.objects.values_list("username", flat=True)
|
taken = UserModel.objects.values_list("username", flat=True)
|
||||||
|
|
Loading…
Reference in a new issue