# HG changeset patch # User Sylvain Thénault # Date 1328790169 -3600 # Node ID 517fbaad0e6e1c81ed5b4cc9897a3e2dbaa3d121 # Parent 2a3c1b7876885afd381f857094042287d6b6993a [bw compat] add compatibility for import of former VRegistry diff -r 2a3c1b787688 -r 517fbaad0e6e vregistry.py --- a/vregistry.py Mon Jan 23 13:25:02 2012 +0100 +++ b/vregistry.py Thu Feb 09 13:22:49 2012 +0100 @@ -16,5 +16,8 @@ # You should have received a copy of the GNU Lesser General Public License along # with CubicWeb. If not, see . from warnings import warn +from logilab.common.deprecation import class_moved warn('[3.15] moved to logilab.common.registry', DeprecationWarning, stacklevel=2) from logilab.common.registry import * + +VRegistry = class_moved(RegistryStore, old_name='VRegistry', message='[3.15] VRegistry moved to logilab.common.registry as RegistryStore')