summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-keystone/keystone-remove-git-commands-in-tests.patch
diff options
context:
space:
mode:
authorVu Tran <vu.tran@windriver.com>2014-07-10 10:23:50 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-07-17 00:12:13 -0400
commitac22bcdf86fa6d687ed9421c0de39cb131e0c62d (patch)
treeaba49699f755d6ac9f55d8613de7cd3f368190ba /meta-openstack/recipes-devtools/python/python-keystone/keystone-remove-git-commands-in-tests.patch
parentf550a375c091a27aeb80d64140c943beba788127 (diff)
downloadmeta-cloud-services-ac22bcdf86fa6d687ed9421c0de39cb131e0c62d.tar.gz
rally: verification subunit2json fail to open result file
Command "rally verify start" gives the following error: TRACE rally File "/usr/lib64/python2.7/site-packages/rally/verification/verifiers/tempest/subunit2json.py", line 113, in stopTestRun TRACE rally with open(self.results_file, 'wb') as results_file: TRACE rally TypeError: coercing to Unicode: need string or buffer, int found For Python 2.x, open() requires a string but not file descriptor number. However for Python 3.x, open() can either accept a string file name of a file descriptor number. So modify code to pass in open() string file name. This should work for both Python 2.x and 3.x Signed-off-by: Vu Tran <vu.tran@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone/keystone-remove-git-commands-in-tests.patch')
0 files changed, 0 insertions, 0 deletions