forked from ScoDoc/ScoDoc
blackify
This commit is contained in:
parent
e6e1835cca
commit
179442aa69
@ -459,7 +459,8 @@ def check_modif_user(
|
||||
"%s %s (pseudo=%s)" % (x.prenom, x.nom, x.user_name)
|
||||
for x in similar_users
|
||||
]
|
||||
) + MSG_OPT,
|
||||
)
|
||||
+ MSG_OPT,
|
||||
)
|
||||
# Roles ?
|
||||
return True, ""
|
||||
|
@ -391,9 +391,7 @@ def create_user_form(user_name=None, edit=0, all_roles=1):
|
||||
roles=vals["roles"],
|
||||
)
|
||||
if not ok:
|
||||
H.append(
|
||||
tf_error_message(msg)
|
||||
)
|
||||
H.append(tf_error_message(msg))
|
||||
return "\n".join(H) + "\n" + tf[1] + F
|
||||
|
||||
if "date_expiration" in vals:
|
||||
|
Loading…
Reference in New Issue
Block a user