Univention Bugzilla – Attachment 8876 Details for
Bug 44611
dhcp/pool with dhcpPermitList=members of raises KeyError
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
44611.patch (text/plain), 747 bytes, created by
Florian Best
on 2017-05-23 14:20:38 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2017-05-23 14:20:38 CEST
Size:
747 bytes
patch
obsolete
>diff --git a/management/univention-directory-manager-modules/modules/univention/admin/handlers/dhcp/pool.py b/management/univention-directory-manager-modules/modules/univention/admin/handlers/dhcp/pool.py >index e7ecfbb..2429dbf 100644 >--- a/management/univention-directory-manager-modules/modules/univention/admin/handlers/dhcp/pool.py >+++ b/management/univention-directory-manager-modules/modules/univention/admin/handlers/dhcp/pool.py >@@ -165,8 +165,9 @@ def open(self): > > for i in self.oldattr.get('dhcpPermitList', []): > permit, name = i.split(' ', 1) >- prop = self.permits_dhcp2udm[name] >- self[prop] = permit >+ if name in self.permits_dhcp2udm: >+ prop = self.permits_dhcp2udm[name] >+ self[prop] = permit > > self.save() >
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 44611
: 8876