()
| 1184 | if behind_count > 0: |
| 1185 | update_changed = bool(force_update_repo(existing_dedsec_path, repo_url)) |
| 1186 | dedsec_size = get_dedsec_size(existing_dedsec_path) |
| 1187 | print(f"[+] {_('Update applied. DedSec Project Size')}: {dedsec_size}") |
| 1188 | else: |
| 1189 | print(_("No available update found.")) |
| 1190 | else: |
| 1191 | existing_dedsec_path = clone_repo(repo_url) |
| 1192 | update_changed = True |
| 1193 | dedsec_size = get_dedsec_size(existing_dedsec_path) |
| 1194 | print(f"[+] {_('Cloned new DedSec repository. DedSec Project Size')}: {dedsec_size}") |
| 1195 | except Exception as exc: |
| 1196 | update_error = exc |
| 1197 | raise |
| 1198 | finally: |
no outgoing calls
no test coverage detected