Ticket #32: 0001-Added-get_path-method-to-notebook.py-so-that-the-loa.patch
| File 0001-Added-get_path-method-to-notebook.py-so-that-the-loa.patch, 1.2 kB (added by jonkuhn, 4 years ago) |
|---|
-
a/lib/reinteract/notebook.py
old new 40 40 self.__root_module.path = path 41 41 self.__reset_all_modules() 42 42 43 def get_path(self): 44 return self.__path 45 43 46 def __reset_all_modules(self): 44 47 for (name, module) in enumerate(self.__modules): 45 48 del sys.modules[self.__prefix + "." + name]
