Alon Bar-Lev has posted comments on this change. Change subject: packaging: fix default filemod in copyFile ......................................................................
Patch Set 5: (1 comment) .................................................... File packaging/fedora/setup/common_utils.py Line 737: logging.debug("setting file %s uid/gid ownership"%(targetFile)) Line 738: os.chown(targetFile, uid, gid) Line 739: Line 740: if filemod is not None: Line 741: if filemod > 0: I would have skipped this test... But anyway... proper style is: if filemod <= 0: raise Excpetion() continue as usual Line 742: logging.debug("setting file %s mode to %d"%(targetFile, filemod)) Line 743: os.chmod(targetFile, filemod) Line 744: else: Line 745: raise Exception("copyFile called with an invalid filemod %s" % filemod) -- To view, visit http://gerrit.ovirt.org/19557 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I9e436d72e8ffb8d48e05201727d5b46797881556 Gerrit-PatchSet: 5 Gerrit-Project: ovirt-engine Gerrit-Branch: engine_3.2 Gerrit-Owner: Yedidyah Bar David <d...@redhat.com> Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com> Gerrit-Reviewer: Ofer Schreiber <oschr...@redhat.com> Gerrit-Reviewer: Sandro Bonazzola <sbona...@redhat.com> Gerrit-Reviewer: Yedidyah Bar David <d...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches