Univention Bugzilla – Bug 56273
quota/users/remove: TypeError: 'str' object is not callable
Last modified: 2023-07-07 09:40:38 CEST
Version: 5.0-3 errata618 Error: Internal server error during "quota/users/remove". Request: quota/users/remove Traceback (most recent call last): File "%PY3%/notifier/threads.py", line 80, in _run result = self._function() File "%PY3%/notifier/__init__.py", line 105, in __call__ return self._function(*tmp, **self._kwargs) File "%PY3%/univention/management/console/modules/quota/user.py", line 145, in _thread raise UMC_Error(_('Could not remove the following user: %s') % ', '.join(failed)) TypeError: 'str' object is not callable Role: domaincontroller_master failed is a str-array _ = Translation('univention-management-console-module-quota').translate
50 _ = Translation('univention-management-console-module-quota').translate ^ 129 (user, _, partition) = obj['object'].partition('@') ^ 136 raise UMC_Error(_('Could not remove the following user: %s') % ', '.join(failed)) ^ Regression from git:62b3e28594d Bug #51317: 30 -»··»···»···»···(user, partition) = obj['object'].partition('@') 31 +»··»···»···»···(user, _, partition) = obj['object'].partition('@') base/univention-quota/umc/python/quota/user.py