Skip to content

Commit

Permalink
api: abstract_paths_from_template sequence key - copy skip_keys argum…
Browse files Browse the repository at this point in the history
…ent to prevent unwanted in place edit
  • Loading branch information
Alexis committed Aug 21, 2020
1 parent 4a1fe0e commit 3e079eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tank/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def paths_from_template(
:returns: Matching file paths
:rtype: List of strings.
"""
skip_keys = skip_keys or []
skip_keys = list(skip_keys) or []
if isinstance(skip_keys, six.string_types):
skip_keys = [skip_keys]

Expand Down

0 comments on commit 3e079eb

Please sign in to comment.