Univention Bugzilla – Bug 38209
ServiceInfo.get_service returns nothing
Last modified: 2023-03-25 06:55:52 CET
def get_service( self, name ): '''returns a service object associated with the given name or None if it does not exist''' self.services.get( name, None ) There is a "return" missing. I needed it for the App Center, finding out whether a service is running. Now I need to workaround it.
Patch is just adding the "return" in base/univention-config-registry/python/univention/service_info.py
*** This bug has been marked as a duplicate of bug 34234 ***