Fix: sanity pylint

This commit is contained in:
R. Sicart 2022-09-08 13:27:29 +02:00
commit 7d5a064503

View file

@ -388,7 +388,7 @@ def user_mod(cursor, user, host, host_all, password, encrypted,
# after privilege manipulation, compare privileges from before and now # after privilege manipulation, compare privileges from before and now
after_priv = privileges_get(cursor, user, host, maria_role) after_priv = privileges_get(cursor, user, host, maria_role)
changed = changed or not (curr_priv == after_priv) changed = changed or (curr_priv != after_priv)
if role: if role:
continue continue