From 99bc0c2f8ef7615fb3b1e4d8e3c6253157cf4ac8 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 3 Apr 2015 16:30:44 -0400 Subject: no need to iter() the result --- pyramid/view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyramid/view.py b/pyramid/view.py index 8cde1d004..127122a36 100644 --- a/pyramid/view.py +++ b/pyramid/view.py @@ -445,4 +445,4 @@ def _find_views(registry, request_iface, context_iface, view_name): # hits in steady state. with registry._lock: cache[(request_iface, context_iface, view_name)] = views - return iter(views) + return views -- cgit v1.2.3