[node-patches] Change in ovirt-node[master]: utils_fs: fix _add_path_entry not to add duplicates

fabiand at fedoraproject.org fabiand at fedoraproject.org
Fri Jul 4 13:28:27 UTC 2014


Fabian Deutsch has submitted this change and it was merged.

Change subject: utils_fs: fix _add_path_entry not to add duplicates
......................................................................


utils_fs: fix _add_path_entry not to add duplicates

_del_path_entry correctly strips the entries in /config/files to do
the matching against the path to persist. However, _add_path_entry
was missing this step, resulting in never matching. This patch
addresses the issue.

Change-Id: Ic3806ef126e1445853938c383d16cc116c553309
Signed-off-by: Antoni S. Puimedon <asegurap at redhat.com>
---
M src/ovirt/node/utils/fs/__init__.py
1 file changed, 4 insertions(+), 5 deletions(-)

Approvals:
  Fabian Deutsch: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic3806ef126e1445853938c383d16cc116c553309
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the node-patches mailing list