Nir Soffer has submitted this change and it was merged.

Change subject: mount: Fix un-escaping of spaces
......................................................................


mount: Fix un-escaping of spaces

The regular expression match '\040' (" ") but failed to match '\134'
('\'). The pattern would also match invalid such as '\088', raising a
ValueError when trying to un-escape.  Fix the pattern to accept any
octal value.

Change-Id: Iaddcb8c023f80d4284b28ad070fd833374c3e857
Signed-off-by: Nir Soffer <nsof...@redhat.com>
Reviewed-on: https://gerrit.ovirt.org/56550
Reviewed-by: Francesco Romani <from...@redhat.com>
Reviewed-by: Freddy Rolland <froll...@redhat.com>
Continuous-Integration: Jenkins CI
---
M lib/vdsm/storage/mount.py
M tests/mountTests.py
2 files changed, 1 insertion(+), 3 deletions(-)

Approvals:
  Nir Soffer: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests
  Freddy Rolland: Looks good to me, but someone else must approve
  Francesco Romani: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaddcb8c023f80d4284b28ad070fd833374c3e857
Gerrit-PatchSet: 10
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsof...@redhat.com>
Gerrit-Reviewer: Adam Litke <ali...@redhat.com>
Gerrit-Reviewer: Ala Hino <ah...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Francesco Romani <from...@redhat.com>
Gerrit-Reviewer: Freddy Rolland <froll...@redhat.com>
Gerrit-Reviewer: Idan Shaby <ish...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsof...@redhat.com>
Gerrit-Reviewer: gerrit-hooks <automat...@ovirt.org>
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/vdsm-patches@lists.fedorahosted.org

Reply via email to