use positional arguments in favour of keyword arguments for backwards compatibility with older python
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
46459053f4
commit
f82a6224f2
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class ObjectClassTestCase(test.CdistTestCase):
|
|||
|
||||
self.expected_objects = []
|
||||
for cdist_object_name in self.expected_object_names:
|
||||
cdist_type, cdist_object_id = cdist_object_name.split("/", maxsplit=1)
|
||||
cdist_type, cdist_object_id = cdist_object_name.split("/", 1)
|
||||
cdist_object = core.CdistObject(core.CdistType(type_base_path, cdist_type), object_base_path, cdist_object_id)
|
||||
self.expected_objects.append(cdist_object)
|
||||
|
||||
|
|
Loading…
Reference in a new issue