summaryrefslogtreecommitdiff
path: root/beautifulsoup/element.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2011-02-20 09:09:59 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2011-02-20 09:09:59 -0500
commit52ce808c1b43a9efb55e0186647a801b8a7c23a5 (patch)
tree1d5a6252ec26a43cd3754ba905d5fc2c732fb943 /beautifulsoup/element.py
parentec444785a35722778ad188a66fef483cc93d7bbb (diff)
Added tests of custom lists of empty-element tags.
Diffstat (limited to 'beautifulsoup/element.py')
-rw-r--r--beautifulsoup/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/beautifulsoup/element.py b/beautifulsoup/element.py
index c0c28d4..a70813d 100644
--- a/beautifulsoup/element.py
+++ b/beautifulsoup/element.py
@@ -446,7 +446,7 @@ class Tag(PageElement, Entities):
# Set up any substitutions, such as the charset in a META tag.
self.contains_substitutions = builder.set_up_substitutions(self)
- self.can_be_empty_element = (builder.can_be_empty_element(name))
+ self.can_be_empty_element = builder.can_be_empty_element(name)
@property
def is_empty_element(self):