Create directories for this task (if they don't exist already)
(self)
| 1541 | |
| 1542 | |
| 1543 | def create_task_directories(self): |
| 1544 | """ |
| 1545 | Create directories for this task (if they don't exist already) |
| 1546 | """ |
| 1547 | assets_dir = self.assets_path("") |
| 1548 | try: |
| 1549 | os.makedirs(assets_dir) |
| 1550 | except OSError as exc: # Python >2.5 |
| 1551 | if exc.errno == errno.EEXIST and os.path.isdir(assets_dir): |
| 1552 | pass |
| 1553 | else: |
| 1554 | raise |
| 1555 | |
| 1556 | def scan_images(self): |
| 1557 | tp = self.task_path() |
no test coverage detected