Skip to content

Commit

Permalink
Merge pull request #2035 from fedspendingtransparency/master
Browse files Browse the repository at this point in the history
Another Hotfix from Master -> Staging
  • Loading branch information
tony-sappe authored Sep 16, 2019
2 parents 12794fd + bf369cb commit 30d5830
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,9 @@ def add_deletion_records(self, source_path, working_dir, award_type, agency_code

def organize_deletion_columns(self, source, dataframe, award_type, match_date):
""" Ensure that the dataframe has all necessary columns in the correct order """
ordered_columns = ["correction_delete_ind"] + source.columns(None)
ordered_columns = source.columns(None)
if "correction_delete_ind" not in ordered_columns:
ordered_columns = ["correction_delete_ind"] + ordered_columns

# Loop through columns and populate rows for each
unique_values_map = {"correction_delete_ind": "D", "last_modified_date": match_date}
Expand Down

0 comments on commit 30d5830

Please sign in to comment.