97
97
_real_import = __import__
99
def timed_import(name, globals, locals, fromlist):
99
def timed_import(name, globals, locals, fromlist, level=None):
100
100
"""Wrap around standard importer to log import time"""
102
103
scope_name = globals.get('__name__', None)