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)

patch generated by git format-patch

  • a/lib/reinteract/notebook.py

    old new  
    4040            self.__root_module.path = path 
    4141            self.__reset_all_modules() 
    4242 
     43    def get_path(self): 
     44        return self.__path 
     45 
    4346    def __reset_all_modules(self): 
    4447        for (name, module) in enumerate(self.__modules): 
    4548            del sys.modules[self.__prefix + "." + name]