Skip to content

Commit

Permalink
Merge pull request #46 from robertatakenaka/files_exceptions
Browse files Browse the repository at this point in the history
Cria scielo_classic_website.migration.get_issue_files_and_exceptions
  • Loading branch information
robertatakenaka authored Feb 26, 2024
2 parents c9dd093 + a47133e commit cbd1294
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scielo_classic_website/migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,8 @@ def get_records_by_source_path(db_type, source_path):
def get_issue_files(acron, issue_folder):
issue_files = IssueFiles(acron, issue_folder)
return issue_files.files


def get_issue_files_and_exceptions(acron, issue_folder):
issue_files = IssueFiles(acron, issue_folder)
return {"files": issue_files.files, "exceptions": issue_files.exceptions}

0 comments on commit cbd1294

Please sign in to comment.