cinder/cinder/backup/drivers
Pablo Caruana 38d581996b Google backup: correct string encoding between py 2 and 3
Correcting encode() and decode() methods of 8-bit and Unicode
string objects.

In Python 2, Both 8-bit and Unicode strings had both methods
and the type of the return value was based on the specific
encoding passed in.

In Python 3, Text strings only have an encode() method, and
that method can only be used with codecs that produce bytes
objects. Similarly bytes and bytearray objects only have a
decode() method which can only be used with codecs that
produce string objects.

Change-Id: I214a786858655b8caf9612f3da5403c7d0bb7387
Closes-Bug: #1831735
2019-09-04 21:58:05 +00:00
..
__init__.py Removed copyright from empty files 2014-01-01 20:31:13 -07:00
ceph.py Merge "Fix ceph: only close rbd image after snapshot iteration is finished" 2019-08-13 01:02:09 +00:00
gcs.py Google backup: correct string encoding between py 2 and 3 2019-09-04 21:58:05 +00: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