Skip to content

Commit

Permalink
Update asfdata.py
Browse files Browse the repository at this point in the history
Try a different approach
  • Loading branch information
sebbASF committed Jun 28, 2023
1 parent 45b546f commit 093a9f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/asfdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import traceback
import operator
import pprint
import copy

import requests
import yaml
Expand Down Expand Up @@ -353,8 +354,7 @@ def process_load(metadata, value, origload, debug):
if seq not in ('url', 'file'):
# one or more sequences
sequence = value[seq]
load = {}
load.update(origload) # mutations must not affect other sequences
load = copy.deepcopy(origload) # mutations must not affect other sequences
process_sequence(metadata, seq, sequence, load, debug)


Expand Down

0 comments on commit 093a9f3

Please sign in to comment.