Yedidyah Bar David has uploaded a new change for review.

Change subject: packaging: setup: Ask to remove engine only if enabled
......................................................................

packaging: setup: Ask to remove engine only if enabled

Change-Id: I8d6b938b0635e30eeb10c4e10371eccf07987ecd
Bug-Url: https://bugzilla.redhat.com/1060529
Signed-off-by: Yedidyah Bar David <d...@redhat.com>
(cherry picked from commit b84f6880e800b444c62d93311168b2d0085a6c40)
---
M packaging/setup/plugins/ovirt-engine-remove/ovirt-engine/system/engine.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/99/31399/1

diff --git 
a/packaging/setup/plugins/ovirt-engine-remove/ovirt-engine/system/engine.py 
b/packaging/setup/plugins/ovirt-engine-remove/ovirt-engine/system/engine.py
index f99f4c8..b0b55c8 100644
--- a/packaging/setup/plugins/ovirt-engine-remove/ovirt-engine/system/engine.py
+++ b/packaging/setup/plugins/ovirt-engine-remove/ovirt-engine/system/engine.py
@@ -65,6 +65,7 @@
         after=(
             osetupcons.Stages.REMOVE_CUSTOMIZATION_COMMON,
         ),
+        condition=lambda self: self.environment[oenginecons.CoreEnv.ENABLE],
     )
     def _customization(self):
         if self.environment[osetupcons.RemoveEnv.REMOVE_ALL]:


-- 
To view, visit http://gerrit.ovirt.org/31399
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8d6b938b0635e30eeb10c4e10371eccf07987ecd
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Yedidyah Bar David <d...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to