Show More
@@ -672,8 +672,8 b' class ExecutionMagics(Magics):' | |||||
672 | modulename = opts["m"][0] |
|
672 | modulename = opts["m"][0] | |
673 | modpath = find_mod(modulename) |
|
673 | modpath = find_mod(modulename) | |
674 | if modpath is None: |
|
674 | if modpath is None: | |
675 |
|
|
675 | msg = '%r is not a valid modulename on sys.path'%modulename | |
676 |
r |
|
676 | raise Exception(msg) | |
677 | arg_lst = [modpath] + arg_lst |
|
677 | arg_lst = [modpath] + arg_lst | |
678 | try: |
|
678 | try: | |
679 | fpath = None # initialize to make sure fpath is in scope later |
|
679 | fpath = None # initialize to make sure fpath is in scope later |
General Comments 0
You need to be logged in to leave comments.
Login now