GitHub user sfriesel opened a pull request:

    https://github.com/apache/libcloud/pull/797

    Fix cloudstack user data on Python 3

    ## Fix cloudstack user data on Python 3
    ### Description
    
    A wrongly nested string decode caused a TypeError as b64encode
    expects a byte string in Python 3 and conversely the url parameter
    needs to be a normal string.
    
    ### Status
    
    done
    
    ### Checklist (tick everything that applies)
    
    - [ ] [Code 
linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide)
 (required, can be done after the PR checks)
    - [ ] Documentation
    - [ ] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
    - [ ] 
[ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes)
 (required for bigger changes)
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sfriesel/libcloud cspy3

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/libcloud/pull/797.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #797
    
----
commit ff22a60b2b31fe1b51b62e9725fa91a13dc4bcad
Author: Stefan Friesel <[email protected]>
Date:   2016-06-02T07:25:19Z

    Fix cloudstack user data on Python 3
    
    A wrongly nested string decode caused a TypeError as b64encode
    expects a byte string in Python 3 and conversely the url parameter
    needs to be a normal string.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to