(self)
| 597 | ] |
| 598 | |
| 599 | def __init__(self): |
| 600 | self.exts: List[ScapyExt] = [] |
| 601 | self.all_specs: Dict[str, ScapyExt.ScapyExtSpec] = {} |
| 602 | self._loaded: List[str] = [] |
| 603 | # Add to meta_path as we are an import provider |
| 604 | if self not in sys.meta_path: |
| 605 | sys.meta_path.append(self) |
| 606 | |
| 607 | def find_spec(self, fullname, path, target=None): |
| 608 | if fullname in self.all_specs: |