diff options
author | Dan Florea <dflorea@cisco.com> | 2013-04-30 21:02:18 -0700 |
---|---|---|
committer | Dan Florea <dflorea@cisco.com> | 2013-04-30 21:02:18 -0700 |
commit | 37fbfad813e12d00da8f9d3e9f6f13256d5bb7c1 (patch) | |
tree | 934d60c6f49f3cce42e307fdbae5dc0df223c105 /nova/utils.py | |
parent | dccbcc84a922d16eb230491e2a4d486fdb19b40f (diff) | |
download | nova-37fbfad813e12d00da8f9d3e9f6f13256d5bb7c1.tar.gz nova-37fbfad813e12d00da8f9d3e9f6f13256d5bb7c1.tar.xz nova-37fbfad813e12d00da8f9d3e9f6f13256d5bb7c1.zip |
Convert the cache key from unicode to a string.
The memcached API expects string format, not unicode.
Convert the key passed to the memory cache to a string
before sending it to memcached. Since both the function
name and the id that form the key are ascii format, a
simple conversion from unicode to str is sufficient.
Change-Id: I9d15858ad4e10aa183444cccda9c33676059e55a
Fixes: bug #1174487
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions