Alon Bar-Lev has uploaded a new change for review. Change subject: services: minor cleanup ......................................................................
services: minor cleanup Change-Id: I2a7326e82054289f81d2da85cafc56863b92298a Signed-off-by: Alon Bar-Lev <alo...@redhat.com> --- M src/plugins/otopi/services/openrc.py M src/plugins/otopi/services/systemd.py 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/otopi refs/changes/44/14244/1 diff --git a/src/plugins/otopi/services/openrc.py b/src/plugins/otopi/services/openrc.py index 9e84645..4e99c19 100644 --- a/src/plugins/otopi/services/openrc.py +++ b/src/plugins/otopi/services/openrc.py @@ -86,7 +86,7 @@ def status(self, name): self.logger.debug('check service %s status', name) - (rc, stdout, stderr) = self._executeServiceCommand( + rc, stdout, stderr = self._executeServiceCommand( name, 'status', raiseOnError=False diff --git a/src/plugins/otopi/services/systemd.py b/src/plugins/otopi/services/systemd.py index 95ba52a..264bb72 100644 --- a/src/plugins/otopi/services/systemd.py +++ b/src/plugins/otopi/services/systemd.py @@ -122,7 +122,7 @@ if len(stdout) == 1: name = stdout[0].split('=')[1].strip().replace('.service', '') - rc, stdout, stderr = self._executeServiceCommand( + self._executeServiceCommand( name, 'enable' if state else 'disable' ) -- To view, visit http://gerrit.ovirt.org/14244 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2a7326e82054289f81d2da85cafc56863b92298a Gerrit-PatchSet: 1 Gerrit-Project: otopi Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches