Pull requests

#4 Merged
Repository
m0she m0she
Branch
default
Repository
chrisatlee chrisatlee
Branch
default

Catching the io.UnsupportedOperation for fileno

Author
  1. Alon Hammerman
Reviewers
Description

Based on Yorgos Pagles's patch - This makes it usable for django.core.files.uploadedfile.InMemoryUploadedFile which raises unsupported if you try to access fileno. The difference is that it also doesn't break on older python (<= 2.5) without io

Comments (1)

  1. cloudinary

    Hi, This pull request fixes poster for working properly with Django 1.5. Cloudinary's Python library depends on poster. Therefore, we currently reference a Bitbucket fork instead of the official package. Can you please merge this pull request and release a new pip package of poster? Thanks, The Cloudinary team