]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
san driver: don't use relative Python import
authorVictor Stinner <vstinner@redhat.com>
Fri, 12 Jun 2015 11:10:41 +0000 (13:10 +0200)
committerVictor Stinner <vstinner@redhat.com>
Fri, 12 Jun 2015 11:11:47 +0000 (13:11 +0200)
Replace relative import with absolute import. Relative imports don't
work on Python 3 anymore.

Blueprint cinder-python3
Change-Id: Ie27ee7d8734c59d0739b8e1a2ecc369801d56cf7

cinder/volume/drivers/san/__init__.py

index 26e05bccf5ed7e1c23c5ad0bf41584af0b053b30..511f20cfa49bd37cd3372ab55388a787bc9cfe18 100644 (file)
@@ -22,4 +22,4 @@
 """
 
 # Adding imports for backwards compatibility in loading volume_driver.
-from san import SanISCSIDriver      # noqa
+from cinder.volume.drivers.san.san import SanISCSIDriver      # noqa