From 3fad906305e77fa4eee7f361dc40c510e9c8bc54 Mon Sep 17 00:00:00 2001 From: Matthew Tretter Date: Fri, 17 Feb 2012 23:54:39 -0500 Subject: [PATCH] Remove crop.Crop to avoid confusion with resize.Crop --- imagekit/processors/resize.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/imagekit/processors/resize.py b/imagekit/processors/resize.py index 65677ab..b50ae51 100644 --- a/imagekit/processors/resize.py +++ b/imagekit/processors/resize.py @@ -89,13 +89,6 @@ class SmartFill(object): return crop.SmartCrop(self.width, self.height).process(img) -class Crop(Fill): - def __init__(self, *args, **kwargs): - warnings.warn('`imagekit.processors.resize.Crop` has been renamed to' - '`imagekit.processors.resize.Fill`.', DeprecationWarning) - super(Crop, self).__init__(*args, **kwargs) - - class ResizeCanvas(object): """ Resizes the canvas, using the provided background color if the new size is