mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Improve wording of "cannot find" errors
This commit is contained in:
parent
b5e77a0643
commit
bdd702384f
2 changed files with 2 additions and 2 deletions
|
|
@ -310,6 +310,6 @@ def is_valid_content(content, f):
|
|||
content.check_properties()
|
||||
return True
|
||||
except NameError as e:
|
||||
logger.error("Skipping %s: impossible to find information about "
|
||||
logger.error("Skipping %s: could not find information about "
|
||||
"'%s'" % (f, e))
|
||||
return False
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ def configure_settings(settings):
|
|||
if os.path.exists(theme_path):
|
||||
settings['THEME'] = theme_path
|
||||
else:
|
||||
raise Exception("Impossible to find the theme %s"
|
||||
raise Exception("Could not find the theme %s"
|
||||
% settings['THEME'])
|
||||
|
||||
# if locales is not a list, make it one
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue