From: Andreas Z. <svn...@pl...> - 2010-03-18 17:56:10
|
Author: witsch Date: Thu Mar 18 17:56:03 2010 New Revision: 35331 Modified: plone.app.imaging/branches/new-scales/src/plone/app/imaging/scaling.py Log: don't assume it's always an `ImageField` Modified: plone.app.imaging/branches/new-scales/src/plone/app/imaging/scaling.py ============================================================================== --- plone.app.imaging/branches/new-scales/src/plone/app/imaging/scaling.py (original) +++ plone.app.imaging/branches/new-scales/src/plone/app/imaging/scaling.py Thu Mar 18 17:56:03 2010 @@ -30,8 +30,8 @@ if not self.field.swallowResizeExceptions: raise else: - exception('could not scale ImageField "%s" of %s', - self.field.getName(), context.absolute_url()) + exception('could not scale "%r" of %r', + self.field, context.absolute_url()) class ImageScaling(BrowserView): |