diff options
| -rw-r--r-- | pyramid/paster.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pyramid/paster.py b/pyramid/paster.py index 28d3535df..b1f0a6c8b 100644 --- a/pyramid/paster.py +++ b/pyramid/paster.py @@ -2,11 +2,19 @@ import os import sys from code import interact +import zope.deprecation + from paste.deploy import loadapp from paste.script.command import Command from pyramid.scripting import get_root +from pyramid.scaffolds import PyramidTemplate # bw compat +zope.deprecation.deprecated( + 'PyramidTemplate', ('pyramid.paster.PyramidTemplate was moved to ' + 'pyramid.scaffolds.PyramidTemplate in Pyramid 1.1'), +) + def get_app(config_file, name, loadapp=loadapp): """ Return the WSGI application named ``name`` in the PasteDeploy config file ``config_file``""" |
