1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-20 11:58:55 +00:00

utils/types: Fix correct arguments for join

Ensure that the join method for a ``str`` is passed a single list
instead of 2 arguments.
This commit is contained in:
Marc Bonnici 2018-07-02 16:21:23 +01:00 committed by setrofim
parent cbb8fdab28
commit 3fd40e5f19

View File

@ -454,10 +454,10 @@ class toggle_set(set):
class ID(str):
def merge_with(self, other):
return '_'.join(self, other)
return '_'.join([self, other])
def merge_into(self, other):
return '_'.join(other, self)
return '_'.join([other, self])
class obj_dict(MutableMapping):