Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Libcloud fixes #55

Merged
merged 3 commits into from
Oct 7, 2015
Merged

Libcloud fixes #55

merged 3 commits into from
Oct 7, 2015

Conversation

kaedroho
Copy link
Contributor

This fixes a few issues I've encountered with the apache_libcloud backend (using Rackspace Cloud Files). These fixes follow the implemlementation of the S3 backend.

  • file.read(n) was returning the whole file regardless of the num_bytes parameter
  • Accessing file.name no longer gives an AttributeError
  • Initialising the .file attribute to an empty BytesIO object caused errors when trying to load the file into Pillow

@jschneier
Copy link
Owner

urgh who wrote this garbage, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants