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 | 98a2e39b6d4bd9cad8a1c19110124e33e9ae4e54 (patch) | |
tree | ebaf4bf6f267b507d6c98f27e0be6481578a8c83 /bs4/__init__.py | |
parent | a860302f892294d43d509d4b47c07623f44be947 (diff) |
Corrected formatting of warning.
Diffstat (limited to 'bs4/__init__.py')
-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, |