Skip to content

Commit

Permalink
Corrected syntax error in Metadata.get_child
Browse files Browse the repository at this point in the history
  • Loading branch information
marcopasi committed Jun 22, 2018
1 parent da1b99a commit 5dd6798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basic_modules/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def get_child(cls, parents, path):
>>> child_metadata =
>>> Metadata.get_child([metadata1, metadata2], 'child_file')
"""
if isinstance(parents, [list, tuple]) is False:
if isinstance(parents, (list, tuple)) is False:
parents = (parents,)
meta_data = copy.deepcopy(parents[0].meta_data)

Expand Down

0 comments on commit 5dd6798

Please sign in to comment.