Fixed #28776 -- Fixed a/an/and typos in docs and comments.

This commit is contained in:
Дилян Палаузов 2017-11-06 22:11:39 -05:00 committed by Tim Graham
parent 5587485d49
commit 6c0042430e
24 changed files with 29 additions and 29 deletions

View file

@ -21,7 +21,7 @@ class EmailBackend(ConsoleEmailBackend):
if not isinstance(self.file_path, str):
raise ImproperlyConfigured('Path for saving emails is invalid: %r' % self.file_path)
self.file_path = os.path.abspath(self.file_path)
# Make sure that self.file_path is an directory if it exists.
# Make sure that self.file_path is a directory if it exists.
if os.path.exists(self.file_path) and not os.path.isdir(self.file_path):
raise ImproperlyConfigured(
'Path for saving email messages exists, but is not a directory: %s' % self.file_path