Yedidyah Bar David has posted comments on this change. Change subject: reports: remove war file for new db ......................................................................
Patch Set 2: Code-Review+1 (1 comment) http://gerrit.ovirt.org/#/c/30967/2/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-reports/jasper/deploy.py File packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-reports/jasper/deploy.py: Line 141: if os.path.exists(entry['src']): Line 142: shutil.rmtree(entry['src']) Line 143: os.rename(entry['dst'], entry['src']) Line 144: else: Line 145: shutil.rmtree(entry['src']) Perhaps: if os.path.exists(entry['src']): shutil.rmtree(entry['src']) if entry['dst'] is not None: os.rename(entry['dst'], entry['src']) Line 146: except Exception as e: Line 147: self._parent.logger.debug( Line 148: 'Exception during rename %s->%s', Line 149: entry['dst'], -- To view, visit http://gerrit.ovirt.org/30967 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I4dc78b70df372d83c04d9eb4a47989925f9705d7 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-reports Gerrit-Branch: master Gerrit-Owner: Shirly Radco <[email protected]> Gerrit-Reviewer: Sandro Bonazzola <[email protected]> Gerrit-Reviewer: Shirly Radco <[email protected]> Gerrit-Reviewer: Simone Tiraboschi <[email protected]> Gerrit-Reviewer: Yaniv Dary <[email protected]> Gerrit-Reviewer: Yedidyah Bar David <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
