diff options
author | dvshkurko <dvshkurko@yandex-team.ru> | 2022-02-10 16:45:51 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:51 +0300 |
commit | 321ee9bce31ec6e238be26dbcbe539cffa2c3309 (patch) | |
tree | 14407a2757cbf29eb97e266b7f07e851f971000c /contrib/python/setuptools/py3 | |
parent | 2f6ca198245aeffd5e2d82b65927c2465b68b4f5 (diff) | |
download | ydb-321ee9bce31ec6e238be26dbcbe539cffa2c3309.tar.gz |
Restoring authorship annotation for <dvshkurko@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/python/setuptools/py3')
-rw-r--r-- | contrib/python/setuptools/py3/pkg_resources/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/python/setuptools/py3/pkg_resources/__init__.py b/contrib/python/setuptools/py3/pkg_resources/__init__.py index 6b947a49a7..43b2459c60 100644 --- a/contrib/python/setuptools/py3/pkg_resources/__init__.py +++ b/contrib/python/setuptools/py3/pkg_resources/__init__.py @@ -3283,16 +3283,16 @@ class ResProvider(EmptyProvider): path = os.path.normpath(path) return self._resource_fs.get(path) - def _listdir(self, path): + def _listdir(self, path): result = self.__lookup(path) if result is None: return [] return list(result) - def _isdir(self, path): + def _isdir(self, path): return bool(self.__lookup(path)) - - + + class ResDistribution(DistInfoDistribution): def __init__(self, prefix): super(ResDistribution, self).__init__( |