Skip to content

Commit

Permalink
old_format condition changed
Browse files Browse the repository at this point in the history
  • Loading branch information
lakshmi2506 committed Jan 16, 2024
1 parent 18947ae commit 773501f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cumulusci/tasks/bulkdata/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def _process_job_results(self, mapping, step, local_ids):
sf_id_results = self._generate_results_id_map(step, local_ids)

for i in range(len(sf_id_results)):
if str.isdigit(sf_id_results[i][0][0]):
if str(sf_id_results[i][0]).isnumeric():
self._old_format = True
sf_id_results[i][0] = mapping.table + "-" + str(sf_id_results[i][0])
else:
Expand Down

0 comments on commit 773501f

Please sign in to comment.