]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
vfs: do not raise error on non-existent files
authorDmitry Selyutin <ghostmansd@gmail.com>
Wed, 4 Oct 2017 19:54:35 +0000 (22:54 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Thu, 5 Oct 2017 07:03:21 +0000 (10:03 +0300)
pygnulib/vfs.py

index 14df5c413be60fc797413872917c91bf359dd668..91c94d09fbdd16c92d21f19e1e45057a91858292 100644 (file)
@@ -74,10 +74,7 @@ class Base:
                         part = self.__config[new]
                         replaced = True
             parts += [part]
-        path = _os_.path.sep.join([self.__path] + parts)
-        if not _os_.path.exists(path):
-            raise FileNotFoundError(name)
-        return path
+        return _os_.path.sep.join([self.__path] + parts)
 
 
     @property