Univention Bugzilla – Attachment 7695 Details for
Bug 41368
prevent wrong uldap class
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
41368.patch (text/plain), 744 bytes, created by
Florian Best
on 2016-05-27 11:13 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2016-05-27 11:13 CEST
Size:
744 bytes
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 cd54420..6a40599 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 >@@ -106,6 +106,9 @@ def __init__(self, co, lo, position, dn='', superordinate = None ): > self.position.setDn(dn) > self._open = 0 > >+ if not isinstance(lo, univention.admin.uldap.access): >+ raise TypeError('lo must be instance of univention.admin.uldap.access.') >+ > def open(self): > self._open = 1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 41368
: 7695