From: Michael Tremer Date: Tue, 21 Jan 2025 15:56:18 +0000 (+0000) Subject: users: Remove extra attributes that were used by the testsuite X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82d316ccf9b6f2dec782e6d7ba16347d0cc53cf0;p=pbs.git users: Remove extra attributes that were used by the testsuite Signed-off-by: Michael Tremer --- diff --git a/src/buildservice/users.py b/src/buildservice/users.py index 00fb927b..42c6b8e3 100644 --- a/src/buildservice/users.py +++ b/src/buildservice/users.py @@ -158,14 +158,10 @@ class Users(base.Object): return results[0] - async def create(self, name, notify=False, storage_quota=None, _attrs=None): + async def create(self, name, notify=False, storage_quota=None): """ Creates a new user """ - # Pickle any attrs - if _attrs: - _attrs = pickle.dumps(_attrs) - # Set default for storage quota if storage_quota is None: storage_quota = DEFAULT_STORAGE_QUOTA @@ -175,7 +171,6 @@ class Users(base.Object): User, name = name, storage_quota = storage_quota, - _attrs = _attrs, ) log.debug("Created user %s" % user)