summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyramid/configuration.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyramid/configuration.py b/pyramid/configuration.py
index c0fb8ce78..540fa597e 100644
--- a/pyramid/configuration.py
+++ b/pyramid/configuration.py
@@ -717,6 +717,7 @@ class Configurator(object):
self.manager.pop()
return app
+ @config_method
def load_zcml(self, spec='configure.zcml', lock=threading.Lock()):
""" Load configuration from a :term:`ZCML` file into the
current configuration state. The ``spec`` argument is an
@@ -1680,6 +1681,7 @@ class Configurator(object):
self.registry.registerUtility(mapper, IRoutesMapper)
return mapper
+ @config_method
def scan(self, package=None, categories=None):
""" Scan a Python package and any of its subpackages for
objects marked with :term:`configuration decoration` such as