From: Dmitry Selyutin Date: Sat, 30 Jun 2018 13:30:26 +0000 (+0300) Subject: vfs: normalize file path after concatenation X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=99b64e290d2c37332fab0d6a925fda53f3702ae7;p=gnulib.git vfs: normalize file path after concatenation --- diff --git a/pygnulib/vfs.py b/pygnulib/vfs.py index 395af98430..fb6b458ed0 100644 --- a/pygnulib/vfs.py +++ b/pygnulib/vfs.py @@ -68,7 +68,7 @@ class BaseVFS: 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):