]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
RequestContext initialization failed in cinder.
authorLiuSheng <liusheng@huawei.com>
Thu, 7 Nov 2013 01:27:05 +0000 (09:27 +0800)
committerliusheng <liusheng@huawei.com>
Thu, 7 Nov 2013 02:33:09 +0000 (10:33 +0800)
commit539eaaab89eea42f3f92a4ce069183c7730034af
tree7ae8b3773e8255ff5bdafe78e11777c22be8d71c
parent54b117d26e3e61e639c334e2e1c47fcd481745ab
RequestContext initialization failed in cinder.

RequestContext initialization failed in cinder because of the following
error:
"TypeError: 'in <string>' requires string as left operand, not NoneType"

It must traverses in tuple not in string when find the "compute"
service_catalog.

Change-Id: I46f4bbd0ffb9d1db8bdcb0254ca95551fea08baf
Closes-Bug: #1248434
cinder/context.py
cinder/tests/test_context.py