Show More
@@ -328,10 +328,9 b" def reload(module, exclude=['sys', 'os.path', '__builtin__', '__main__']):" | |||||
328 | found_now[i] = 1 |
|
328 | found_now[i] = 1 | |
329 | try: |
|
329 | try: | |
330 | with replace_import_hook(deep_import_hook): |
|
330 | with replace_import_hook(deep_import_hook): | |
331 |
ret |
|
331 | return deep_reload_hook(module) | |
332 | finally: |
|
332 | finally: | |
333 | found_now = {} |
|
333 | found_now = {} | |
334 | return ret |
|
|||
335 |
|
334 | |||
336 | # Uncomment the following to automatically activate deep reloading whenever |
|
335 | # Uncomment the following to automatically activate deep reloading whenever | |
337 | # this module is imported |
|
336 | # this module is imported |
General Comments 0
You need to be logged in to leave comments.
Login now