cinder/cinder/backup/drivers
Gorka Eguileor 6f55d2d9fc Google backup support client 1.8.2
Version 1.8.0 of the google-api-python-client package included the
classic __version__ attribute that allowed us to know what version the
client was running, but that's no longer the case on version 1.8.2.

Which results in the following error when we use that library:

 AttributeError: module 'googleapiclient' has no attribute '__version__'

Since we still need to know the version of the client we are running to
determine the library to use for credentials we change how we get the
version of the package.

Now we use pkg_resources to get the version, which works even when
there's no __version__ attribute.

Change-Id: I24b1cf52c994a5fa0117fc2780d415981c596583
2020-06-04 13:58:35 +02:00
..
__init__.py Removed copyright from empty files 2014-01-01 20:31:13 -07:00
ceph.py Change _get_volume_size_gb to _get_volume_size_bytes 2020-03-27 16:57:59 +08:00
gcs.py Google backup support client 1.8.2 2020-06-04 13:58:35 +02:00
glusterfs.py Remove obsolete get_backup_driver functions 2019-04-26 08:20:02 -04:00
nfs.py Merge "NFS: Retry on intermittent mount failure" 2019-06-27 07:43:39 +00:00
posix.py Remove obsolete get_backup_driver functions 2019-04-26 08:20:02 -04:00
swift.py Merge "Remove obsolete get_backup_driver functions" 2019-05-02 00:46:50 +00:00
tsm.py Remove obsolete get_backup_driver functions 2019-04-26 08:20:02 -04:00