tgavankar/kitsune — comment on commit 44ffb7670c68713e09264de1340de04576b91436
File: apps/upload/utils.py line 64
By willkg:

I'm a huge fan of avoiding deepcopy like the plague unless you know exactly what structures are getting copied. It's probably better to keep imagefile above around and if it kicks up an error, just re-do the Image.open call.