summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2017-05-07 07:08:27 -0400
committerLeonard Richardson <leonardr@segfault.org>2017-05-07 07:08:27 -0400
commit3833f0f10771d12f584e98b07219e5166d063c60 (patch)
tree12211b871fce40adee4ed33d0c2d0628be27dfd0
parentfe6afd533f5ae0344616b98776a96f87f439485e (diff)
downloadbeautifulsoup4-3833f0f10771d12f584e98b07219e5166d063c60.tar.gz
Corrected formatting of warning.
-rw-r--r--bs4/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bs4/__init__.py b/bs4/__init__.py
index 0fff7e1..c984ef6 100644
--- a/bs4/__init__.py
+++ b/bs4/__init__.py
@@ -215,8 +215,8 @@ class BeautifulSoup(Tag):
markup = markup.encode("utf8")
warnings.warn(
'"%s" looks like a filename, not markup. You should'
- 'probably open this file and pass the filehandle into'
- 'Beautiful Soup.' % markup)
+ ' probably open this file and pass the filehandle into'
+ ' Beautiful Soup.' % markup)
self._check_markup_is_url(markup)
for (self.markup, self.original_encoding, self.declared_html_encoding,