From cf112608ef7b27c4adceef5161779fd4b590ffc0 Mon Sep 17 00:00:00 2001 From: Patrick East Date: Fri, 18 Dec 2015 13:48:49 -0800 Subject: [PATCH] Fix python 3.x import issues with pure.py The older import was not compatible with python 3.x, only 2.x. A simple fix is to adjust how we are importing the module. Change-Id: Ic1d69c676af1adde9bd305431338c16a058fccf6 Closes-Bug: 1527755 --- cinder/volume/drivers/pure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/volume/drivers/pure.py b/cinder/volume/drivers/pure.py index 66c6c8214..6dd4fbe18 100644 --- a/cinder/volume/drivers/pure.py +++ b/cinder/volume/drivers/pure.py @@ -38,7 +38,7 @@ from cinder.volume import utils as volume_utils from cinder.zonemanager import utils as fczm_utils try: - import purestorage + from purestorage import purestorage except ImportError: purestorage = None -- 2.45.2