summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyramid/config/util.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pyramid/config/util.py b/pyramid/config/util.py
index 0fd9ef4a7..85ce826a4 100644
--- a/pyramid/config/util.py
+++ b/pyramid/config/util.py
@@ -115,6 +115,10 @@ class PredicateList(object):
before=weighs_less_than,
)
+ def names(self):
+ # Return the list of valid predicate names.
+ return self.sorter.names
+
def make(self, config, **kw):
# Given a configurator and a list of keywords, a predicate list is
# computed. Elsewhere in the code, we evaluate predicates using a