From f85c2e76a9978eb28c600a7c1712ac5091ba050e Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Wed, 26 Mar 2014 13:23:32 +0000 Subject: [PATCH] correct NotImplementedError messages in wagtailimages/backends/base.py --- wagtail/wagtailimages/backends/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wagtail/wagtailimages/backends/base.py b/wagtail/wagtailimages/backends/base.py index 77f609350..78f38eaee 100644 --- a/wagtail/wagtailimages/backends/base.py +++ b/wagtail/wagtailimages/backends/base.py @@ -16,14 +16,14 @@ class BaseImageBackend(object): which is a tuple with the width and height of the image and a format attribute with the format of the image. """ - raise NotImplementedError('subclasses of BaseImageBackend must provide an resize() method') + raise NotImplementedError('subclasses of BaseImageBackend must provide an open_image() method') def save_image(self, image, output): """ Save the image to the output """ - raise NotImplementedError('subclasses of BaseImageBackend must provide an resize() method') + raise NotImplementedError('subclasses of BaseImageBackend must provide a save_image() method') def resize(self, image, size): """ @@ -34,7 +34,7 @@ class BaseImageBackend(object): def crop_to_centre(self, image, size): - raise NotImplementedError('subclasses of BaseImageBackend must provide an crop_to_centre() method') + raise NotImplementedError('subclasses of BaseImageBackend must provide a crop_to_centre() method') def resize_to_max(self, image, size):