| Conditions | 5 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | from zipfile import ZipFile |
||
| 5 | def __init__(self, path=None, stack=None,*args): |
||
| 6 | |||
| 7 | # Project already exists |
||
| 8 | if path is None or len(path) == 0: |
||
| 9 | raise FileNotFoundError |
||
| 10 | else: |
||
| 11 | with ZipFile(path) as project_folder: |
||
| 12 | with project_folder.open("state.yml") as state: |
||
| 13 | pass |
||
| 14 | self.path = path |
||
| 15 | self.stack = stack |
||
| 16 | |||
| 20 |