Univention Bugzilla – Attachment 10928 Details for
Bug 53581
Appcenter [python3]: RuntimeError: dictionary changed size during iteration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
53581_proposal2.patch
53581_proposal2.patch (text/plain), 1.17 KB, created by
Arvid Requate
on 2022-03-21 20:01:17 CET
(
hide
)
Description:
53581_proposal2.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2022-03-21 20:01:17 CET
Size:
1.17 KB
patch
obsolete
>diff --git a/management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py b/management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py >index 8b2bde6157..f36716c9da 100644 >--- a/management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py >+++ b/management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py >@@ -206,8 +206,6 @@ class simpleLdap(object): > m = univention.admin.modules.get(self.module) > if not hasattr(self, 'mapping'): > self.mapping = getattr(m, 'mapping', None) >- if not hasattr(self, 'descriptions'): >- self.descriptions = getattr(m, 'property_descriptions', None) > > self.oldattr = {} # type: _Attributes > if attributes: >@@ -234,6 +232,10 @@ class simpleLdap(object): > > self._validate_superordinate(False) > >+ @property >+ def descriptions(self): # type: () -> Dict[Text, univention.admin.property] >+ return univention.admin.modules.get(self.module).property_descriptions >+ > def save(self): # type: () -> None > """Saves the current internal object state as old state for later comparison when e.g. modifying this object. >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 53581
:
10927
| 10928