##// END OF EJS Templates
Merge pull request #10944 from rmrao/master...
Thomas Kluyver -
r24097:1d521e63 merge
parent child Browse files
Show More
@@ -184,7 +184,7 b' class ModuleReloader(object):'
184 if not hasattr(module, '__file__') or module.__file__ is None:
184 if not hasattr(module, '__file__') or module.__file__ is None:
185 return None, None
185 return None, None
186
186
187 if getattr(module, '__name__', None) in ['__mp_main__', '__main__']:
187 if getattr(module, '__name__', None) in [None, '__mp_main__', '__main__']:
188 # we cannot reload(__main__) or reload(__mp_main__)
188 # we cannot reload(__main__) or reload(__mp_main__)
189 return None, None
189 return None, None
190
190
General Comments 0
You need to be logged in to leave comments. Login now