diff --git a/uffd/user/models.py b/uffd/user/models.py index ea54d7c2b2d536bc8c0f872f156429d525eb0720..51e6793e6f6cdfed19dd8ffd068a3ff7d76f5227 100644 --- a/uffd/user/models.py +++ b/uffd/user/models.py @@ -152,6 +152,10 @@ class User(db.Model): self.mail = value return True + # Somehow pylint non-deterministically fails to detect that .update_groups is set in invite.modes + def update_groups(self): + pass + def get_next_unix_gid(): next_gid = max(current_app.config['GROUP_MIN_GID'], db.session.query(func.max(Group.unix_gid + 1)).scalar() or 0)