781a963c58
If we get flavors with a domain token or an unscope token,
the project id of this case is None, will raise "TypeError:
'in <string>' requires string as left operand, not NoneType"
in _get_project_id. So, first we need check whether project_id
is None or not.
We can just return '' if project_id is None.
Change-Id: I8477d08a956a5b0262bd473254d9202738b6b65b
Closes-Bug: #1733746
(cherry picked from commit
|
||
---|---|---|
.. | ||
openstack | ||
__init__.py | ||
test_auth.py | ||
test_compute_req_id.py | ||
test_wsgi.py |