---
hooks/post-repo-update/README | 2 +-
hooks/post-repo-update/hook.py | 2 +-
tests/conflicts/conflicts.py | 2 +-
tests/repoclosure/repoclosure.py | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hooks/post-repo-update/README b/hooks/post-repo-update/README
index 90c55ea..9f033c7 100644
--- a/hooks/post-repo-update/README
+++ b/hooks/post-repo-update/README
@@ -12,5 +12,5 @@ arches when the tests are actually run.
AutoQA tests can expect the following variables from post-repo-update hook:
baseurl: url of repo that changed
- parents: space-separated list of urls for 'parent' repos of the given repo
+ parents: list of urls for 'parent' repos of the given repo
reponame: name for repo that changed, may be empty
diff --git a/hooks/post-repo-update/hook.py b/hooks/post-repo-update/hook.py
index aa77d5e..04258a0 100644
--- a/hooks/post-repo-update/hook.py
+++ b/hooks/post-repo-update/hook.py
@@ -39,6 +39,6 @@ def process_testdata(opts, args, **extra):
OptionParser.parse_args()), return a dict containing the appropriate key=val
pairs required by test's control files and test object.'''
testdata = {'baseurl': args[0],
- 'parents': ' '.join(opts.parent),
+ 'parents': opts.parent,
'reponame': opts.name or ''}
return testdata
diff --git a/tests/conflicts/conflicts.py b/tests/conflicts/conflicts.py
index 750533b..5d034a7 100644
--- a/tests/conflicts/conflicts.py
+++ b/tests/conflicts/conflicts.py
@@ -42,7 +42,7 @@ class conflicts(AutoQATest):
cmd = './potential_conflict.py --tempcache --newest'
cmd += ' --repofrompath=target,%s --repoid=target' % baseurl
count = 1
- for parent in parents.split():
+ for parent in parents:
name = 'parent-%u' % count
cmd += ' --repofrompath=%s,%s --repoid=%s' % (name, parent, name)
count += 1
diff --git a/tests/repoclosure/repoclosure.py b/tests/repoclosure/repoclosure.py
index e7f662b..ac21500 100644
--- a/tests/repoclosure/repoclosure.py
+++ b/tests/repoclosure/repoclosure.py
@@ -39,7 +39,7 @@ class repoclosure(AutoQATest):
cmd = 'repoclosure --tempcache --newest'
cmd += ' --repofrompath=target,%s --repoid=target' % baseurl
count = 1
- for parent in parents.split():
+ for parent in parents:
name = 'parent-%u' % count
cmd += ' --repofrompath=%s,%s --repoid=%s' % (name, parent, name)
count += 1
--
1.7.2.1