Mercurial > gnulib
changeset 39115:aa50b6ed9282
vfs: normalize file path after concatenation
author | Dmitry Selyutin <ghostmansd@gmail.com> |
---|---|
date | Sat, 30 Jun 2018 16:30:26 +0300 |
parents | 7025642fe93e |
children | 4dce85d628e9 |
files | pygnulib/vfs.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pygnulib/vfs.py Sat Jun 30 16:30:02 2018 +0300 +++ b/pygnulib/vfs.py Sat Jun 30 16:30:26 2018 +0300 @@ -68,7 +68,7 @@ part = self.__table[part] replaced = True parts += [part] - return _os.path.sep.join(parts) + return _os.path.normpath(_os.path.sep.join(parts)) def __setitem__(self, src, dst):