f9c4d6b500888c059dcf4547a3442e6a7a582b27,imagekit/models.py,ImageSpecFile,file,#ImageSpecFile#,222
Before Change
@property
def file(self):
self._create()
return self.storage.open(self.name)
@property
def image(self):
After Change
@property
def file(self):
if not self._file:
if not self.storage.exists(self.name):
self._create()
self._file = self.storage.open(self.name)
return self._file
@property
def image(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
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
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: scipy/scipy
Commit Name: f03c60af18468f649adb8fe338b739abbca1d8c2
Time: 2020-07-08
Author: peterbell10@live.co.uk
File Name: scipy/spatial/kdtree.py
Class Name: KDTree
Method Name: tree