# HG changeset patch # User Thierry Florac # Date 1512731321 -3600 # Node ID 664b86f16a91de95e4fd18e7dbae41dcda50c00b # Parent de78bbbc9f50ecfc7b036a584e6b4e60e171adb0 Version 0.1.9 diff -r de78bbbc9f50 -r 664b86f16a91 buildout.cfg --- a/buildout.cfg Fri Nov 10 13:51:21 2017 +0100 +++ b/buildout.cfg Fri Dec 08 12:08:41 2017 +0100 @@ -107,4 +107,4 @@ eggs = pyams_utils [test] [versions] -pyams_utils = 0.1.8 +pyams_utils = 0.1.9 diff -r de78bbbc9f50 -r 664b86f16a91 docs/HISTORY.txt --- a/docs/HISTORY.txt Fri Nov 10 13:51:21 2017 +0100 +++ b/docs/HISTORY.txt Fri Dec 08 12:08:41 2017 +0100 @@ -1,6 +1,11 @@ Changelog ========= +0.1.9 +----- + - added "NullAdapter" class to be able to remove a default adapter for a given context + - added "get_global_registry" function + 0.1.8 ----- - updated TALES extensions interfaces diff -r de78bbbc9f50 -r 664b86f16a91 setup.py --- a/setup.py Fri Nov 10 13:51:21 2017 +0100 +++ b/setup.py Fri Dec 08 12:08:41 2017 +0100 @@ -25,7 +25,7 @@ README = os.path.join(DOCS, 'README.txt') HISTORY = os.path.join(DOCS, 'HISTORY.txt') -version = '0.1.8' +version = '0.1.9' long_description = open(README).read() + '\n\n' + open(HISTORY).read() tests_require = [ diff -r de78bbbc9f50 -r 664b86f16a91 src/pyams_utils.egg-info/PKG-INFO --- a/src/pyams_utils.egg-info/PKG-INFO Fri Nov 10 13:51:21 2017 +0100 +++ b/src/pyams_utils.egg-info/PKG-INFO Fri Dec 08 12:08:41 2017 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pyams-utils -Version: 0.1.8 +Version: 0.1.9 Summary: Utility functions and classes for PyAMS Home-page: http://www.ztfy.org Author: Thierry Florac @@ -47,6 +47,11 @@ Changelog ========= + 0.1.9 + ----- + - added "NullAdapter" class to be able to remove a default adapter for a given context + - added "get_global_registry" function + 0.1.8 ----- - updated TALES extensions interfaces diff -r de78bbbc9f50 -r 664b86f16a91 src/pyams_utils.egg-info/requires.txt --- a/src/pyams_utils.egg-info/requires.txt Fri Nov 10 13:51:21 2017 +0100 +++ b/src/pyams_utils.egg-info/requires.txt Fri Dec 08 12:08:41 2017 +0100 @@ -1,4 +1,4 @@ -ZODB +setuptools babel beaker chameleon @@ -9,11 +9,11 @@ pyramid_zodbconn pysocks pytz -setuptools transaction z3c.form z3c.pt z3c.ptcompat +ZODB zope.annotation zope.component zope.container diff -r de78bbbc9f50 -r 664b86f16a91 src/pyams_utils/list.py --- a/src/pyams_utils/list.py Fri Nov 10 13:51:21 2017 +0100 +++ b/src/pyams_utils/list.py Fri Dec 08 12:08:41 2017 +0100 @@ -23,7 +23,7 @@ def unique(seq, idfun=None): """Extract unique values from list, preserving order - :param list seq: input list + :param iterator seq: input list :param callable idfun: an identity function which is used to get 'identity' value of each element in the list :return: list; a new list containing only unique elements of the original list in their initial order. diff -r de78bbbc9f50 -r 664b86f16a91 src/pyams_utils/locales/fr/LC_MESSAGES/pyams_utils.mo Binary file src/pyams_utils/locales/fr/LC_MESSAGES/pyams_utils.mo has changed diff -r de78bbbc9f50 -r 664b86f16a91 src/pyams_utils/locales/fr/LC_MESSAGES/pyams_utils.po --- a/src/pyams_utils/locales/fr/LC_MESSAGES/pyams_utils.po Fri Nov 10 13:51:21 2017 +0100 +++ b/src/pyams_utils/locales/fr/LC_MESSAGES/pyams_utils.po Fri Dec 08 12:08:41 2017 +0100 @@ -687,7 +687,7 @@ #: src/pyams_utils/interfaces/__init__.py:37 msgid "The specified URI is not valid." msgstr "" -"L'URI indiquée est invalide ; elle doit comprendre le protocole d'accès au " +"L'URL indiquée est invalide ; elle doit comprendre le protocole d'accès au " "site, comme « http:// » ou « https:// »" #: src/pyams_utils/interfaces/__init__.py:38