[node-patches] Change in ovirt-node[node-3.0]: utils: Fix File.sub()

fabiand at fedoraproject.org fabiand at fedoraproject.org
Thu Feb 20 09:44:55 UTC 2014


Fabian Deutsch has submitted this change and it was merged.

Change subject: utils: Fix File.sub()
......................................................................


utils: Fix File.sub()

There are mutliline differences between python 2.6 and 2.7. To have the
same behavior, the sub() is now executed on each line - not on the whole
contents.

Change-Id: Icce28f96c4af490dc5ade9b09699e753c9d898dd
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=960833
Signed-off-by: Fabian Deutsch <fabiand at redhat.com>
---
M src/ovirt/node/utils/fs.py
M src/ovirt/node/utils/storage.py
2 files changed, 14 insertions(+), 6 deletions(-)



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icce28f96c4af490dc5ade9b09699e753c9d898dd
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: node-3.0
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list