From fbc785188db081c3d3940bf4dcd316de28fda066 Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Thu, 2 Jan 2014 22:25:00 -0700 Subject: Issue #20097: Fix bad use of "self" in importlib's WindowsRegistryFinder. --- Lib/importlib/_bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/importlib/_bootstrap.py') diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py index efe62d4c4e..62e25a32d9 100644 --- a/Lib/importlib/_bootstrap.py +++ b/Lib/importlib/_bootstrap.py @@ -1406,7 +1406,7 @@ class WindowsRegistryFinder: @classmethod def find_module(cls, fullname, path=None): """Find module named in the registry.""" - spec = self.find_spec(fullname, path) + spec = cls.find_spec(fullname, path) if spec is not None: return spec.loader else: -- cgit v1.2.1