Skip to content

Commit

Permalink
Use extend instead of append for adding to list when getting acl list
Browse files Browse the repository at this point in the history
  • Loading branch information
mksanger committed Aug 15, 2023
1 parent b488487 commit c6ede51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/partisan/irods.py
Original file line number Diff line number Diff line change
Expand Up @@ -1687,7 +1687,7 @@ def acl(self, timeout=None, tries=1) -> List[AC]:
if own and read:
acs.difference_update(read)

acl.append(*acs)
acl.extend(acs)

return sorted(acl)

Expand Down

0 comments on commit c6ede51

Please sign in to comment.