]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix bugs caused by porting to python3
authorabhiram moturi <abhiram.moturi@oracle.com>
Sat, 19 Dec 2015 17:31:10 +0000 (17:31 +0000)
committerabhiram moturi <abhiram.moturi@oracle.com>
Sat, 19 Dec 2015 17:31:10 +0000 (17:31 +0000)
commitdd0b713a5a21c79adc7860a5b42a0fc5f99f56eb
tree983fa7e78c4ab31b47794b384c4481b412ff343c
parentc9c1e91405dce2eebc35974ba4ea6d36d46a38b8
Fix bugs caused by porting to python3

In previous python version base64.encodestring() adds '\n'.
at the end. This is removed when we use oslo encode_as_text()
This causes a regression as we manually removed the last
character earlier. This fix removes manually deleting the
last character.

Change-Id: I746c9435e7b4ec2e8af831d46f708c152dffba4d
Closes-Bug: #1527841
cinder/volume/drivers/zfssa/zfssaiscsi.py
cinder/volume/drivers/zfssa/zfssanfs.py