Mercurial > gnulib
changeset 39035:7697d384889d
vfs: normalize paths
author | Dmitry Selyutin <ghostmansd@gmail.com> |
---|---|
date | Wed, 18 Oct 2017 00:09:46 +0300 |
parents | 092ea8d7ef06 |
children | c643b2265fd0 |
files | pygnulib/vfs.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pygnulib/vfs.py Tue Oct 17 23:44:42 2017 +0300 +++ b/pygnulib/vfs.py Wed Oct 18 00:09:46 2017 +0300 @@ -59,7 +59,8 @@ part = self.__table[part] replaced = True parts += [part] - return _os_.path.sep.join([self.__path] + parts) + path = _os_.path.sep.join([self.__path] + parts) + return _os_.path.normpath(path) @property