Univention Bugzilla – Attachment 7193 Details for
Bug 39443
UCR-Module handler are called twice
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
39443.patch (text/plain), 762 bytes, created by
Florian Best
on 2015-09-30 13:03 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2015-09-30 13:03 CEST
Size:
762 bytes
patch
obsolete
>diff --git a/base/univention-config-registry/python/univention/config_registry/handler.py b/base/univention-config-registry/python/univention/config_registry/handler.py >index 2ccfc82..06fcfe4 100644 >--- a/base/univention-config-registry/python/univention/config_registry/handler.py >+++ b/base/univention-config-registry/python/univention/config_registry/handler.py >@@ -467,6 +467,14 @@ def __init__(self, module): > super(ConfigHandlerModule, self).__init__() > self.module = module > >+ def __hash__(self): >+ return hash(self.module) >+ >+ def __eq__(self, other): >+ if isinstance(other, type(self)): >+ return self.module == other.module >+ return NotImplemented >+ > def __call__(self, args): > """Call python module after change.""" > ucr, changed = args
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 39443
: 7193