Alon Bar-Lev has uploaded a new change for review. Change subject: packaging: setup: fix older pep8 compatibility ......................................................................
packaging: setup: fix older pep8 compatibility regardless, this is better... Change-Id: Ibd6b2cf7c1c9f5427a6cce6ceb8df2873bc43888 Signed-off-by: Alon Bar-Lev <[email protected]> --- M packaging/setup/ovirt_engine_setup/remote_engine.py 1 file changed, 7 insertions(+), 7 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/55/33255/1 diff --git a/packaging/setup/ovirt_engine_setup/remote_engine.py b/packaging/setup/ovirt_engine_setup/remote_engine.py index 9534e3a..18e3f46 100644 --- a/packaging/setup/ovirt_engine_setup/remote_engine.py +++ b/packaging/setup/ovirt_engine_setup/remote_engine.py @@ -405,13 +405,13 @@ # manual_inline and have another function for that, # or perhaps make _enroll_cert_manual_files work with both. cert = { - osetupcons.Const.REMOTE_ENGINE_SETUP_STYLE_AUTO_SSH: - self._enroll_cert_auto_ssh, - osetupcons.Const.REMOTE_ENGINE_SETUP_STYLE_MANUAL_FILES: - self._enroll_cert_manual_files, - }[ - self._remote_engine.style().name - ]() + osetupcons.Const.REMOTE_ENGINE_SETUP_STYLE_AUTO_SSH: ( + self._enroll_cert_auto_ssh + ), + osetupcons.Const.REMOTE_ENGINE_SETUP_STYLE_MANUAL_FILES: ( + self._enroll_cert_manual_files + ), + }[self._remote_engine.style().name]() self._cert = cert def add_to_transaction( -- To view, visit http://gerrit.ovirt.org/33255 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ibd6b2cf7c1c9f5427a6cce6ceb8df2873bc43888 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
