Yedidyah Bar David has uploaded a new change for review.

Change subject: packaging: setup: debug master.properties creation
......................................................................

packaging: setup: debug master.properties creation

Change-Id: I1202c521b4ff9a1ec115fdb9ad11759850e2a2f7
Signed-off-by: Yedidyah Bar David <d...@redhat.com>
---
M 
packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-reports/jasper/deploy.py
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-reports refs/changes/12/40012/1

diff --git 
a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-reports/jasper/deploy.py
 
b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-reports/jasper/deploy.py
index b06c484..fe992ad 100644
--- 
a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-reports/jasper/deploy.py
+++ 
b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-reports/jasper/deploy.py
@@ -169,8 +169,13 @@
                 if entry['dst'] is not None and os.path.exists(entry['dst']):
                     shutil.rmtree(entry['dst'])
 
+    def _check_master_props(self):
+        conf = 
oreportscons.FileLocations.OVIRT_ENGINE_REPORTS_BUILDOMATIC_DBPROP
+        self.logger.debug('conf %s found: %s' % (conf, os.path.exists(conf)))
+
     def _buildJs(self, cmd, config, noSuffix=False):
 
+        self._check_master_props()
         try:
             myumask = os.umask(0o022)
 
@@ -231,6 +236,7 @@
                     ),
                     0o700,
                 )
+        self._check_master_props()
 
     def _workaroundUsersNullPaswords(self, src):
         for f in glob.glob(os.path.join(src, 'users', '*.xml')):


-- 
To view, visit https://gerrit.ovirt.org/40012
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1202c521b4ff9a1ec115fdb9ad11759850e2a2f7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-reports
Gerrit-Branch: master
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