(self, targets, concurrency=6)
| 10 | |
| 11 | class BaseThread(object): |
| 12 | def __init__(self, targets, concurrency=6): |
| 13 | self.concurrency = concurrency |
| 14 | self.semaphore = threading.Semaphore(concurrency) |
| 15 | self.targets = targets |
| 16 | |
| 17 | def work(self, site): |
| 18 | raise NotImplementedError() |
nothing calls this directly
no outgoing calls
no test coverage detected