X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=bootstrap.py;h=03bb505c6d3a1aed2a6177aba4fc3565d538fd17;hb=a5c4feeac240a446a38147130b51ad96a046f6e1;hp=045411ae257116db18b2bb56b61cfe95cd14f762;hpb=aad84a3abe06d127918d09f2ad3b8f4264a9d02b;p=python_utils.git diff --git a/bootstrap.py b/bootstrap.py index 045411a..03bb505 100644 --- a/bootstrap.py +++ b/bootstrap.py @@ -87,7 +87,7 @@ def handle_uncaught_exception(exc_type, exc_value, exc_tb): original_hook(exc_type, exc_value, exc_tb) -class ImportInterceptor(importlib.abc.MetaPathFinder): +class ImportInterceptor(object): def __init__(self): import collect.trie self.module_by_filename_cache = {}