---
hooks/post-bodhi-update/README | 2 +-
hooks/post-bodhi-update/hook.py | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/hooks/post-bodhi-update/README b/hooks/post-bodhi-update/README
index d6fc481..e8bbf0c 100644
--- a/hooks/post-bodhi-update/README
+++ b/hooks/post-bodhi-update/README
@@ -16,4 +16,4 @@ AutoQA tests can expect the following variables from post-bodhi-update
hook:
title: title of the update request
updateid: Unique ID of the update request (may be empty)
targettag: target koji tag for this update
- envrs: comma-separated list of package envrs in this update request
+ envrs: list of package envrs in this update request
diff --git a/hooks/post-bodhi-update/hook.py b/hooks/post-bodhi-update/hook.py
index dda3c7d..0ee26ea 100644
--- a/hooks/post-bodhi-update/hook.py
+++ b/hooks/post-bodhi-update/hook.py
@@ -41,8 +41,7 @@ def process_testdata(opts, args, **extra):
'''Given an optparse.Values object and a list of args (as returned from
OptionParser.parse_args()), return a dict containing the appropriate key=val
pairs required by test's control files and test object.'''
- # XXX NOTE ','-separated list of envrs - is that safe/reliable?
- testdata = {'envrs': ','.join(args),
+ testdata = {'envrs': args,
'targettag': opts.targettag,
'updateid': opts.updateid,
'title': opts.title}
--
1.7.2.1