def startProcessGroup(self, name, wait=True): # noqa: N802 (lowercase) """ SupervisorNamespaceRPCInterface raises, RPCError, but we need to catch type Xmlrpclib.Fault in the plugin, so translate RPCError to Xmlrpclib.Fault. """ try: callback = SupervisorNamespaceRPCInterface.startProcessGroup( self, name, wait=wait) return callback() except RPCError as err: raise xmlrpclib.Fault(err.code, err.text)