diff --git a/pgfutils.py b/pgfutils.py index 4add373..eb1e1c6 100644 --- a/pgfutils.py +++ b/pgfutils.py @@ -512,7 +512,7 @@ def find_spec(self, fullname, path, target=None): self._avoid_recursion.remove(fullname) # If it has an origin in one of our tracked dirs, log it. - if spec is not None and spec.origin is not None: + if spec is not None and spec.origin is not None and spec.origin != "built-in": global _config if _config.in_tracking_dir("import", spec.origin): _file_tracker.filenames.add(("r", _relative_if_subdir(spec.origin)))