angler-fishThe Vulnerability History Project

Fixed #8817: get_image_dimensions correctly closes the files it opens, and leaves open the ones it doesn't. Thanks, mitsuhiko.

      While I was at it, I converted the file_storage doctests to unit tests.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
    
commit a7faf6424a8193cbf8a3a8d017461188fe9ea9c9
+8 -14
+90 -136
expand_less