(export, project_string_id, session)
| 68 | |
| 69 | |
| 70 | def check_export_permissions_and_status(export, project_string_id, session): |
| 71 | project_perms = has_project_permissions_for_export(export, project_string_id, session) |
| 72 | if regular_log.log_has_error(project_perms): |
| 73 | return project_perms |
| 74 | |
| 75 | export_completed_result = is_export_completed(export) |
| 76 | if regular_log.log_has_error(export_completed_result): |
| 77 | return export_completed_result |
| 78 | |
| 79 | return regular_log.default() |
| 80 | |
| 81 | |
| 82 |
no test coverage detected