Dan Kenigsberg has submitted this change and it was merged.
Change subject: do not croak on mountpoint with space and digit
......................................................................
do not croak on mountpoint with space and digit
A mountpoint with ' 09' gave me the following error
return _RE_ESCAPE.sub(lambda s: chr(int(s.group()[1:], 8)), path)
ValueError: invalid literal for int() with base 8: '04009'
since the code concatenates 09 to 040 (octal for space).
Change-Id: I33997893320041648187c56e8500348a6850fdfe
---
M vdsm/storage/mount.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Douglas Schilling Landgraf: Verified; Looks good to me, but someone else must approve
Dan Kenigsberg: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/2068
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I33997893320041648187c56e8500348a6850fdfe
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland(a)redhat.com>
Gerrit-Reviewer: Igor Lvovsky <ilvovsky(a)redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi(a)redhat.com>