diff options
| -rw-r--r-- | src/pyramid/path.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyramid/path.py b/src/pyramid/path.py index 5138344c7..3bc87b5f3 100644 --- a/src/pyramid/path.py +++ b/src/pyramid/path.py @@ -96,7 +96,7 @@ def package_path(package): # the result prefix = getattr(package, '__abspath__', None) if prefix is None: - prefix = pkg_resources.resource_filename(package.__name__, '') + prefix = resource_filename(package.__name__, '') # pkg_resources doesn't care whether we feed it a package # name or a module name within the package, the result # will be the same: a directory name to the package itself |
