comparison libervia/server/tasks/implicit/task_brython.py @ 1509:106bae41f5c8

massive refactoring from camelCase -> snake_case. See backend commit log for more details
author Goffi <goffi@goffi.org>
date Sat, 08 Apr 2023 13:44:11 +0200
parents 2796e73ed50c
children 73c848c2f41e
comparison
equal deleted inserted replaced
1508:ec3ad9abf9f9 1509:106bae41f5c8
96 continue 96 continue
97 shutil.copytree(p, dest / p.name) 97 shutil.copytree(p, dest / p.name)
98 else: 98 else:
99 shutil.copy(p, dest) 99 shutil.copy(p, dest)
100 100
101 async def onDirEvent(self, host, filepath, flags): 101 async def on_dir_event(self, host, filepath, flags):
102 self.set_common_scripts() 102 self.set_common_scripts()
103 await self.manager.runTaskInstance(self) 103 await self.manager.run_task_instance(self)
104 104
105 def start(self): 105 def start(self):
106 dyn_path = self.build_path / C.BUILD_DIR_DYN 106 dyn_path = self.build_path / C.BUILD_DIR_DYN
107 for dyn_data in self.resource.browser_modules["brython"]: 107 for dyn_data in self.resource.browser_modules["brython"]:
108 url_hash = dyn_data['url_hash'] 108 url_hash = dyn_data['url_hash']