From dd13d9f238fd216485df2233967ecfbf809f38bd Mon Sep 17 00:00:00 2001 From: cguardia Date: Wed, 27 Apr 2011 00:57:50 -0500 Subject: removed line that will never be executed --- pyramid/config.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyramid/config.py b/pyramid/config.py index 5008e42fb..0891ce6df 100644 --- a/pyramid/config.py +++ b/pyramid/config.py @@ -2604,8 +2604,6 @@ def _make_predicates(xhr=None, request_method=None, path_info=None, if custom: for num, predicate in enumerate(custom): - if not hasattr(predicate, '__doc__'): - predicate.__doc__ = "custom predicate" predicates.append(predicate) # using hash() here rather than id() is intentional: we # want to allow custom predicates that are part of -- cgit v1.2.3