Address space-separated strings in linkcheck/

This commit is contained in:
Chris Mayo 2020-05-30 17:01:36 +01:00
parent b9f4864d9e
commit 8dc2f12b94
2 changed files with 5 additions and 3 deletions

View file

@ -160,7 +160,7 @@ class UrlBase:
self.set_extern(self.url)
if self.extern[0] and self.extern[1]:
self.add_info(
_("The URL is outside of the domain " "filter, checked only syntax.")
_("The URL is outside of the domain filter, checked only syntax.")
)
if not self.has_result:
self.set_result(_("filtered"))

View file

@ -230,7 +230,8 @@ class _Logger(abc.ABC):
msg = sys.exc_info()[1]
log.warn(
LOG_CHECK,
"Could not open file %r for writing: %s\n" "Disabling log output of %s",
"Could not open file %r for writing: %s\n"
"Disabling log output of %s",
self.filename,
msg,
self,
@ -311,7 +312,8 @@ class _Logger(abc.ABC):
msg = sys.exc_info()[1]
log.warn(
LOG_CHECK,
"Could not write to output file: %s\n" "Disabling log output of %s",
"Could not write to output file: %s\n"
"Disabling log output of %s",
msg,
self,
)