use positional arguments in favour of keyword arguments for backwards compatibility with older python

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
remotes/origin/3.0
Steven Armstrong 11 years ago
parent 46459053f4
commit f82a6224f2
  1. 2
      cdist/test/cdist_object/__init__.py

@ -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…
Cancel
Save