diff options
| author | Michael Merickel <michael@merickel.org> | 2011-06-21 10:29:11 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2011-06-21 10:29:11 -0500 |
| commit | fe5e070166d98a7be35b72a4f66177c0222b34b3 (patch) | |
| tree | 31bd34b6de5c73cda3abafab2279fc4f08c3e8ec | |
| parent | e01f0747fbad12836471bbc24953f8f06985ba52 (diff) | |
| download | pyramid-fe5e070166d98a7be35b72a4f66177c0222b34b3.tar.gz pyramid-fe5e070166d98a7be35b72a4f66177c0222b34b3.tar.bz2 pyramid-fe5e070166d98a7be35b72a4f66177c0222b34b3.zip | |
Fixed a bw-compat issue with PyramidTemplate being moved.
| -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``""" |
