From b9e87bb8ce648d00de596dc7d0d16204825c9ee7 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 30 Jan 2011 18:54:51 -0500 Subject: remove useless warnings --- pyramid/settings.py | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/pyramid/settings.py b/pyramid/settings.py index 9d1bb6acb..b1078f2ec 100644 --- a/pyramid/settings.py +++ b/pyramid/settings.py @@ -71,18 +71,11 @@ class Settings(dict): def get_settings(): """ - Return a 'settings' object for the current application. A - 'settings' object is a dictionary-like object that contains - key/value pairs based on the dictionary passed as the ``settings`` - argument to the :class:`pyramid.config.Configurator` - constructor or the :func:`pyramid.router.make_app` API. - - .. note:: For backwards compatibility, dictionary keys can also be - looked up as attributes of the settings object. - - .. note:: the - :class:`pyramid.config.Configurator.get_settings` method - performs the same duty. + Return a :term:`deployment settings` object for the current application. + The object is a dictionary-like object that contains key/value pairs + based on the dictionary passed as the ``settings`` argument to the + :class:`pyramid.config.Configurator` constructor or the + :func:`pyramid.router.make_app` API. .. warning:: This method is deprecated as of Pyramid 1.0. Use ``pyramid.threadlocals.get_current_registry().settings`` instead or use -- cgit v1.2.3