]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Replace builtin hash with MD5 to solve 32/64-bit issues.
authorBen Swartzlander <bswartz@netapp.com>
Wed, 19 Sep 2012 21:07:47 +0000 (17:07 -0400)
committerBen Swartzlander <bswartz@netapp.com>
Thu, 20 Sep 2012 02:35:54 +0000 (22:35 -0400)
commit4662fa29af88783cd9e95b553c044c733ea94753
treece609e691c566f89765656885524baed5f1a5922
parent45e67e8b77ffbc783da111dda96add68f1687341
Replace builtin hash with MD5 to solve 32/64-bit issues.

It seems that Python's builtin hash returns different
values on 32-bit and 64-bit architectures, so it's
safer to use a well-defined hash like MD5.

bug 1050359

Change-Id: I0a4f11b34a1f76cda279ec801cede1440c6e5966
cinder/tests/test_nfs.py
cinder/volume/nfs.py