|
|
@ -68,7 +68,6 @@ def on_import(module_name, func=None): |
|
|
importhook.on_import('httplib', on_httplib_import) |
|
|
importhook.on_import('httplib', on_httplib_import) |
|
|
""" |
|
|
""" |
|
|
if func is None: |
|
|
if func is None: |
|
|
@functools.wraps(func) |
|
|
|
|
|
def decorator(func): |
|
|
def decorator(func): |
|
|
registry[module_name] = func |
|
|
registry[module_name] = func |
|
|
return func |
|
|
return func |
|
|
|