equal
deleted
inserted
replaced
354 join(dirname(__file__), 'web')): |
354 join(dirname(__file__), 'web')): |
355 if webdir in sys.path: |
355 if webdir in sys.path: |
356 sys.path.remove(webdir) |
356 sys.path.remove(webdir) |
357 if CW_SOFTWARE_ROOT in sys.path: |
357 if CW_SOFTWARE_ROOT in sys.path: |
358 sys.path.remove(CW_SOFTWARE_ROOT) |
358 sys.path.remove(CW_SOFTWARE_ROOT) |
359 # load views from each directory in the application's path |
359 # load views from each directory in the instance's path |
360 filemods = self.init_registration(path, extrapath) |
360 filemods = self.init_registration(path, extrapath) |
361 change = False |
361 change = False |
362 for filepath, modname in filemods: |
362 for filepath, modname in filemods: |
363 if self.load_file(filepath, modname, force_reload): |
363 if self.load_file(filepath, modname, force_reload): |
364 change = True |
364 change = True |