From e4b876916846befa35e288d1a734bd562702cc48 Mon Sep 17 00:00:00 2001 From: Jens Gutermuth Date: Mon, 23 Mar 2015 02:28:21 +0100 Subject: [PATCH] DoesNotExist should be ObjectDoesNotExist, oops! --- pinry/core/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinry/core/api.py b/pinry/core/api.py index 9590f9b..ea7d30d 100644 --- a/pinry/core/api.py +++ b/pinry/core/api.py @@ -63,7 +63,7 @@ def filter_generator_for(size): for thumbnail in bundle.obj._prefetched_objects_cache['thumbnail']: if thumbnail.size == size: return thumbnail - raise DoesNotExist() + raise ObjectDoesNotExist() return wrapped_func