]> Savannah Git Hosting - gnulib.git/commitdiff
vfs: fix copy-paste bug
authorDmitry Selyutin <ghostmansd@gmail.com>
Fri, 20 Oct 2017 07:03:06 +0000 (10:03 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Fri, 20 Oct 2017 07:03:06 +0000 (10:03 +0300)
pygnulib/vfs.py

index 9f9d8e15bc22e63501d94639595ac537eb04c2a6..c261135dd209d7f71a85048fe225ae05ccb604d3 100644 (file)
@@ -34,7 +34,7 @@ class Base:
         self.__table = {}
         for (key, value) in table.items():
             _type_assert_(key, value, str)
-            self.__table[key] = _os_.root.normpath(value)
+            self.__table[key] = _os_.path.normpath(value)
         self.__root = root
         self.__patch = patch