summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-pysqlite_2.6.3.bb
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:14:05 -0400
commit41db8eb7ca31800e04c996fe943ecdaf632cfa0f (patch)
tree6602b47d33b554a8c2f81da49c3655fbbfbcf666 /meta-openstack/recipes-devtools/python/python-pysqlite_2.6.3.bb
parent65e79ec56007de4a4445cc59d3d7e8381bc25181 (diff)
downloadmeta-cloud-services-41db8eb7ca31800e04c996fe943ecdaf632cfa0f.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-pysqlite_2.6.3.bb')
0 files changed, 0 insertions, 0 deletions