]> granicus.if.org Git - python/commitdiff
bpo-30436: Add missing space in importlib.util.find_spec() error message (GH-7385)
authorZackery Spytz <zspytz@gmail.com>
Thu, 7 Jun 2018 06:02:24 +0000 (00:02 -0600)
committerNed Deily <nad@python.org>
Thu, 7 Jun 2018 06:02:24 +0000 (02:02 -0400)
Lib/importlib/util.py

index 9d0a90d29730fd5fb2081b52ee0df85d348b53fe..201e0f4cb89d185b477ce83acac0682467387cc5 100644 (file)
@@ -96,7 +96,7 @@ def find_spec(name, package=None):
                 parent_path = parent.__path__
             except AttributeError as e:
                 raise ModuleNotFoundError(
-                    f"__path__ attribute not found on {parent_name!r}"
+                    f"__path__ attribute not found on {parent_name!r} "
                     f"while trying to find {fullname!r}", name=fullname) from e
         else:
             parent_path = None