| 183 | raise |
| 184 | |
| 185 | class MakeSyminkWorker(WorkerBase): |
| 186 | # Creating symbolic links is a bit slow and can be done faster |
| 187 | # in parallel rather than waiting for each to be created. |
| 188 | def work(self, sourcename, targname): |
| 189 | try: |
| 190 | os.symlink(sourcename, targname) |
| 191 | except OSError as e: |
| 192 | if e.errno == errno.EEXIST: |
| 193 | os.remove(targname) |
| 194 | os.symlink(sourcename, targname) |
| 195 | else: |
| 196 | raise |
| 197 | |
| 198 | if __name__ == '__main__': |
| 199 | main() |
nothing calls this directly
no outgoing calls
no test coverage detected