aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/setuptools/py3/patches/03-arcadia.patch
blob: 3629930314ddcb98e01f5a0e6d06efb28773d937 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- contrib/python/setuptools/py3/pkg_resources/__init__.py	(index)
+++ contrib/python/setuptools/py3/pkg_resources/__init__.py	(working tree)
@@ -3330,6 +3330,9 @@ class UnionProvider(EmptyProvider):

         return False

+    def get_resource_filename(self, manager, resource_name):
+        return self._fn(self.module_path, resource_name)[0][1]
+

 class ResProvider(EmptyProvider):
     _resource_fs = {}