From 5f222e06115d2c1f55727b1f20e25bceea36d7ca Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Wed, 18 Oct 2017 00:09:46 +0300 Subject: [PATCH] vfs: normalize paths --- pygnulib/vfs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pygnulib/vfs.py b/pygnulib/vfs.py index b73c96bd09..2cdb5eb103 100644 --- a/pygnulib/vfs.py +++ b/pygnulib/vfs.py @@ -59,7 +59,8 @@ class Base: 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 -- 2.39.5