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

Conversation

Projects
None yet
2 participants
@kaedroho
Copy link
Contributor

kaedroho commented Jun 25, 2015

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

kaedroho added some commits Jun 18, 2015

Made LibCloudFile.file a property
Fetch the file whenever the property is accessed.
@jschneier

This comment has been minimized.

Copy link
Owner

jschneier commented Oct 7, 2015

urgh who wrote this garbage, thanks.

jschneier added a commit that referenced this pull request Oct 7, 2015

@jschneier jschneier merged commit 41bea28 into jschneier:master Oct 7, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@pyup-bot pyup-bot referenced this pull request Mar 27, 2017

Open

Initial Update #94

@pyup-bot pyup-bot referenced this pull request Aug 12, 2017

Closed

Initial Update #49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.