From 4afd4ca029aed4c5e2bc225e3938f4f4879ba155 Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Sun, 20 Feb 2011 19:41:15 -0500 Subject: Renamed the registry variable to builder_registry. --- beautifulsoup/builder/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'beautifulsoup/builder/__init__.py') diff --git a/beautifulsoup/builder/__init__.py b/beautifulsoup/builder/__init__.py index 385dd50..b97c5f9 100644 --- a/beautifulsoup/builder/__init__.py +++ b/beautifulsoup/builder/__init__.py @@ -70,7 +70,7 @@ class TreeBuilderRegistry(object): # The BeautifulSoup class will take feature lists from developers and use them # to look up builders in this registry. -registry = TreeBuilderRegistry() +builder_registry = TreeBuilderRegistry() class TreeBuilder(Entities): @@ -243,7 +243,7 @@ def register_treebuilders_from(module): setattr(this_module, name, obj) this_module.__all__.append(name) # Register the builder while we're at it. - this_module.registry.register(obj) + this_module.builder_registry.register(obj) # Builders are registered in reverse order of priority, so that custom # builder registrations will take precedence. In general, we want -- cgit v1.2.3