summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcguardia <carlos.delaguardia@gmail.com>2011-04-27 00:57:50 -0500
committercguardia <carlos.delaguardia@gmail.com>2011-04-27 00:57:50 -0500
commitdd13d9f238fd216485df2233967ecfbf809f38bd (patch)
tree66583198c8e7d2cb39d9e1f27e2d837ced204669
parent3080ffd838ca3c163b3aeb35b63a774bcddedb92 (diff)
downloadpyramid-dd13d9f238fd216485df2233967ecfbf809f38bd.tar.gz
pyramid-dd13d9f238fd216485df2233967ecfbf809f38bd.tar.bz2
pyramid-dd13d9f238fd216485df2233967ecfbf809f38bd.zip
removed line that will never be executed
-rw-r--r--pyramid/config.py2
1 files changed, 0 insertions, 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