Eli Mesika has submitted this change and it was merged.

Change subject: packaging: setup: workaround python module wooes
......................................................................


packaging: setup: workaround python module wooes

for some reason when python loads a module it consider only short
name of module and ignores the location from which module was loaded,
so it reuses module when trying to load same module short name from
other package.

this cause the following statement in ovirt_engine.py to reuse self
instead of loading correct module:

 from ovirt_engine import util as outil

work around is to rename current module name:

 apache/ovirt_engine.py -> apache/engine.py

Change-Id: I19607ba117d59e310310694648e116d684f9eb2d
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/apache/__init__.py
R packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/apache/engine.py
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Eli Mesika: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I19607ba117d59e310310694648e116d684f9eb2d
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Eyal Edri <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Kiril Nesenko <[email protected]>
Gerrit-Reviewer: Martin PeÅ™ina <[email protected]>
Gerrit-Reviewer: Ofer Schreiber <[email protected]>
Gerrit-Reviewer: Roy Golan <[email protected]>
Gerrit-Reviewer: Sandro Bonazzola <[email protected]>
Gerrit-Reviewer: Yedidyah Bar David <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to