(slef, src, dst, symlinks=False, ignore=None)
| 155 | return None |
| 156 | |
| 157 | def copytree(slef, src, dst, symlinks=False, ignore=None): |
| 158 | for item in os.listdir(src): |
| 159 | s = os.path.join(src, item) |
| 160 | d = os.path.join(dst, item) |
| 161 | if os.path.isdir(s): |
| 162 | shutil.copytree(s, d, symlinks, ignore) |
| 163 | else: |
| 164 | shutil.copy2(s, d) |
| 165 | |
| 166 | # check if the config files are changed and relaod as needed |
| 167 | def update(self): |