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:
parent
cbb8fdab28
commit
3fd40e5f19
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user