summaryrefslogtreecommitdiff
path: root/bs4
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2016-07-17 11:57:00 -0400
committerLeonard Richardson <leonardr@segfault.org>2016-07-17 11:57:00 -0400
commit77aee72327446bace1a8cd6b66a41eed15ada337 (patch)
tree694119e209b1078f3d8078077d449b601884f6fc /bs4
parent0b2445d80c360980c948821c287da56f63629257 (diff)
Although the previously fixed problem only occurs when using the html5lib tree builder, it's not actually a problem with the tree builder itself.
Diffstat (limited to 'bs4')
-rw-r--r--bs4/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bs4/__init__.py b/bs4/__init__.py
index 003dccb..d865bb9 100644
--- a/bs4/__init__.py
+++ b/bs4/__init__.py
@@ -383,8 +383,8 @@ class BeautifulSoup(Tag):
index -= 1
else:
raise ValueError(
- "Error in html5lib tree builder: supposedly %r was "
- "inserted into %r, but I don't see it!" % (
+ "Error building tree: supposedly %r was inserted "
+ "into %r after the fact, but I don't see it!" % (
o, parent
)
)