f9e02d250ed9a25d0a68f0937cbe4bd1bc175183,src/imagekit/specs.py,Accessor,image,#Accessor#,90

Before Change


    @property
    def image(self):
        if self._img is None:
            self._create()
        return self._img
        
    @property
    def width(self):

After Change


    @property
    def image(self):
        if self._img is None:
            self._create()
            if self._img is None:
                self._img = Image.open(self.file)
        return self._img
        
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: matthewwithanm/django-imagekit
Commit Name: f9e02d250ed9a25d0a68f0937cbe4bd1bc175183
Time: 2009-01-14
Author: justin.driscoll@gmail.com
File Name: src/imagekit/specs.py
Class Name: Accessor
Method Name: image


Project Name: matthewwithanm/django-imagekit
Commit Name: ea35379fd2a82e26f0d63acd607a6f8ea4b791d3
Time: 2011-02-10
Author: bryan@revyver.com
File Name: imagekit/specs.py
Class Name: Accessor
Method Name: url


Project Name: matthewwithanm/django-imagekit
Commit Name: f9c4d6b500888c059dcf4547a3442e6a7a582b27
Time: 2011-09-23
Author: matthew@exanimo.com
File Name: imagekit/models.py
Class Name: ImageSpecFile
Method Name: file