From: Dmitry Selyutin Date: Wed, 4 Oct 2017 19:54:35 +0000 (+0300) Subject: vfs: do not raise error on non-existent files X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e78c4ae4cf09dca8794a1e6bd841ce33acefcd9;p=thirdparty%2Fgnulib.git vfs: do not raise error on non-existent files --- diff --git a/pygnulib/vfs.py b/pygnulib/vfs.py index 14df5c413b..91c94d09fb 100644 --- a/pygnulib/vfs.py +++ b/pygnulib/vfs.py @@ -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