diff options
| author | Chris McDonough <chrism@plope.com> | 2011-06-21 11:36:52 -0700 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-06-21 11:36:52 -0700 |
| commit | e3d6fe41302d52d9f1702408abf994cd50437b21 (patch) | |
| tree | 31bd34b6de5c73cda3abafab2279fc4f08c3e8ec | |
| parent | e01f0747fbad12836471bbc24953f8f06985ba52 (diff) | |
| parent | fe5e070166d98a7be35b72a4f66177c0222b34b3 (diff) | |
| download | pyramid-e3d6fe41302d52d9f1702408abf994cd50437b21.tar.gz pyramid-e3d6fe41302d52d9f1702408abf994cd50437b21.tar.bz2 pyramid-e3d6fe41302d52d9f1702408abf994cd50437b21.zip | |
Merge pull request #215 from mmerickel/fix.template_deprecation
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``""" |
