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)
|
"%s %s (pseudo=%s)" % (x.prenom, x.nom, x.user_name)
|
||||||
for x in similar_users
|
for x in similar_users
|
||||||
]
|
]
|
||||||
) + MSG_OPT,
|
)
|
||||||
|
+ MSG_OPT,
|
||||||
)
|
)
|
||||||
# Roles ?
|
# Roles ?
|
||||||
return True, ""
|
return True, ""
|
||||||
|
@ -391,9 +391,7 @@ def create_user_form(user_name=None, edit=0, all_roles=1):
|
|||||||
roles=vals["roles"],
|
roles=vals["roles"],
|
||||||
)
|
)
|
||||||
if not ok:
|
if not ok:
|
||||||
H.append(
|
H.append(tf_error_message(msg))
|
||||||
tf_error_message(msg)
|
|
||||||
)
|
|
||||||
return "\n".join(H) + "\n" + tf[1] + F
|
return "\n".join(H) + "\n" + tf[1] + F
|
||||||
|
|
||||||
if "date_expiration" in vals:
|
if "date_expiration" in vals:
|
||||||
|
Loading…
Reference in New Issue
Block a user