Mercurial > gnulib
changeset 19356:576a9429946c
vfs: normalize paths
author | Dmitry Selyutin <ghostmansd@gmail.com> |
---|---|
date | Wed, 18 Oct 2017 00:09:46 +0300 |
parents | 906eede82a50 |
children | eafd8b40f822 |
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