summaryrefslogtreecommitdiff
path: root/beautifulsoup/builder/__init__.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2011-02-20 19:41:15 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2011-02-20 19:41:15 -0500
commit4afd4ca029aed4c5e2bc225e3938f4f4879ba155 (patch)
tree2c7e4d562d3091ae32506a54c2ef4a1e82f6e7ad /beautifulsoup/builder/__init__.py
parent121361b1835a619ae03fce39cb5569f28968f1b0 (diff)
Renamed the registry variable to builder_registry.
Diffstat (limited to 'beautifulsoup/builder/__init__.py')
-rw-r--r--beautifulsoup/builder/__init__.py4
1 files changed, 2 insertions, 2 deletions
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