Skip to content

Commit

Permalink
Redoing some changes. My bad ;)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustGerard committed Jun 28, 2018
1 parent eab50da commit 3b7ed44
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion BFG_HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4281,7 +4281,7 @@ Deprecations

- The name ``repoze.bfg.registry.registry_manager`` was never an API,
but scripts in the wild were using it to set up an environment for
use under a debug shell. A backwards compatibility shiv has been
use under a debug shell. A backwards compatibility shim has been
added for this purpose, but the feature is deprecated.

0.9a1 (2009-5-27)
Expand Down
10 changes: 5 additions & 5 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4136,7 +4136,7 @@ Bug fixes
Bug Fixes
---------

- 1.1a1 broke Akhet by not providing a backwards compatibility import shiv
- 1.1a1 broke Akhet by not providing a backwards compatibility import shim
for ``pyramid.paster.PyramidTemplate``. Now one has been added, although a
deprecation warning is emitted when Akhet imports it.

Expand Down Expand Up @@ -4738,7 +4738,7 @@ Deprecations
-------------

- Using the ``pyramid.view.bfg_view`` alias for ``pyramid.view.view_config``
(a backwards compatibility shiv) now issues a deprecation warning.
(a backwards compatibility shim) now issues a deprecation warning.

Backwards Incompatibilities
---------------------------
Expand Down Expand Up @@ -5178,7 +5178,7 @@ Terminology Changes
- Positional argument names of various APIs have been changed from
``model`` to ``resource``.

Backwards compatibility shivs have been left in place in all cases. They
Backwards compatibility shims have been left in place in all cases. They
will continue to work "forever".

- The Pyramid concept previously known as "resource" is now known as "asset".
Expand All @@ -5205,7 +5205,7 @@ Terminology Changes
``reload_resources`` (config file) is now known, respectively, as
``PYRAMID_RELOAD_ASSETS`` and ``reload_assets``.

Backwards compatibility shivs have been left in place in all cases. They
Backwards compatibility shims have been left in place in all cases. They
will continue to work "forever".

Bug Fixes
Expand Down Expand Up @@ -5560,7 +5560,7 @@ Deprecations
- Obtaining the ``settings`` object via
``registry.{get|query}Utility(ISettings)`` is now deprecated. Instead,
obtain the ``settings`` object via the ``registry.settings`` attribute. A
backwards compatibility shiv was added to the registry object to register
backwards compatibility shim was added to the registry object to register
the settings object as an ISettings utility when ``setattr(registry,
'settings', foo)`` is called, but it will be removed in a later release.

Expand Down
6 changes: 3 additions & 3 deletions docs/whatsnew-1.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Terminology Changes

- The Pyramid concept previously known as "model" is now known as "resource".
As a result, the following API renames have been made. Backwards
compatibility shivs for the old names have been left in place in all cases::
compatibility shims for the old names have been left in place in all cases::

pyramid.url.model_url ->
pyramid.url.resource_url
Expand Down Expand Up @@ -162,7 +162,7 @@ Terminology Changes

- The Pyramid concept previously known as "resource" is now known as "asset".
As a result, the following API changes were made. Backwards compatibility
shivs have been left in place as necessary::
shims have been left in place as necessary::

pyramid.config.Configurator.absolute_resource_spec ->
pyramid.config.Configurator.absolute_asset_spec
Expand Down Expand Up @@ -516,7 +516,7 @@ Deprecations and Behavior Differences
- Obtaining the ``settings`` object via
``registry.{get|query}Utility(ISettings)`` is now deprecated. Instead,
obtain the ``settings`` object via the ``registry.settings`` attribute. A
backwards compatibility shiv was added to the registry object to register
backwards compatibility shim was added to the registry object to register
the settings object as an ISettings utility when ``setattr(registry,
'settings', foo)`` is called, but it will be removed in a later release.

Expand Down
2 changes: 1 addition & 1 deletion pyramid/httpexceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class HTTPException(Response, Exception):
# 2.6.5+ access of Exception.message
#
# - its base class of HTTPException is no longer a Python 2.4 compatibility
# shiv; it's purely a base class that inherits from Exception. This
# shim; it's purely a base class that inherits from Exception. This
# implies that this class' ``exception`` property always returns
# ``self`` (it exists only for bw compat at this point).
#
Expand Down
2 changes: 1 addition & 1 deletion pyramid/resource.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Backwards compatibility shiv module (forever). """
""" Backwards compatibility shim module (forever). """
from pyramid.asset import * # b/w compat
resolve_resource_spec = resolve_asset_spec
resource_spec_from_abspath = asset_spec_from_abspath
Expand Down

0 comments on commit 3b7ed44

Please sign in to comment.