On Fri, Jul 24, 2009 at 9:49 AM, Jacob Kaplan-Moss<ja...@jacobian.org> wrote: > > On Fri, Jul 24, 2009 at 8:23 AM, Rusty Greer<gr...@greer.org> wrote: >> from what i can tell, get_image_dimensions in >> django/core/files/images.py seems to open the files but never closes >> them. is this a bug? > > Yes, it was #8817 (http://code.djangoproject.com/ticket/8817) which > was fixed a few months ago > (http://code.djangoproject.com/changeset/10708). > > So the fix is in the 1.1 release candidate released earlier this week, > and will be in the 1.1 final and also in the next release of the 1.0.X > series. > > Jacob >
that bug actually doesn't fix my case. if i alter the patch to just do a file.close() in all cases, it works. is there another patch to close the file opened outside of this class? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---