diff options
author | Leonard Richardson <leonardr@segfault.org> | 2017-05-07 07:08:27 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2017-05-07 07:08:27 -0400 |
commit | 3833f0f10771d12f584e98b07219e5166d063c60 (patch) | |
tree | 12211b871fce40adee4ed33d0c2d0628be27dfd0 | |
parent | fe6afd533f5ae0344616b98776a96f87f439485e (diff) | |
download | beautifulsoup4-3833f0f10771d12f584e98b07219e5166d063c60.tar.gz |
Corrected formatting of warning.
-rw-r--r-- | bs4/__init__.py | 4 |
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, |