From 1ffc8ca81e9c208fe745ebbf057b443dd8b60dfd Mon Sep 17 00:00:00 2001 From: Matthew Tretter Date: Sat, 11 Feb 2012 14:11:07 -0500 Subject: [PATCH] Remove duplicate resize.Crop `resize.Crop` actually hasn't been moved to `crop.Crop` (as the removed class claimed). In fact, what used to be called `resize.Crop` is now `resize.Fill`. The confusion is understandable, since it's what motivated the change in the first place! --- imagekit/processors/resize.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/imagekit/processors/resize.py b/imagekit/processors/resize.py index 0f6efb4..8f3ed2a 100644 --- a/imagekit/processors/resize.py +++ b/imagekit/processors/resize.py @@ -1,5 +1,5 @@ from imagekit.lib import Image -from .crop import Crop as _Crop, SmartCrop as _SmartCrop +from .crop import SmartCrop as _SmartCrop import warnings @@ -128,13 +128,6 @@ class Fit(object): return img -class Crop(_Crop): - def __init__(self, *args, **kwargs): - warnings.warn('The Crop processor has been moved to' - ' `imagekit.processors.crop.Crop`, where it belongs.', - DeprecationWarning) - super(SmartCrop, self).__init__(*args, **kwargs) - class SmartCrop(_SmartCrop): def __init__(self, *args, **kwargs): warnings.warn('The SmartCrop processor has been moved to'