[Checkins] SVN: zope.sendmail/trunk/src/zope/sendmail/queue.py Typos in comments, docstrings and the --help message.
Marius Gedminas
cvs-admin at zope.org
Wed May 30 14:57:52 UTC 2012
Log message for revision 126524:
Typos in comments, docstrings and the --help message.
Changed:
U zope.sendmail/trunk/src/zope/sendmail/queue.py
-=-
Modified: zope.sendmail/trunk/src/zope/sendmail/queue.py
===================================================================
--- zope.sendmail/trunk/src/zope/sendmail/queue.py 2012-05-30 14:57:44 UTC (rev 126523)
+++ zope.sendmail/trunk/src/zope/sendmail/queue.py 2012-05-30 14:57:49 UTC (rev 126524)
@@ -47,7 +47,7 @@
# will be performed for each file in the maildir each time the thread "wakes
# up" to send messages.
#
-# Any error conditions not depected on the diagram will provoke the catch-all
+# Any error conditions not depicted on the diagram will provoke the catch-all
# exception logging of the ``run`` method.
#
# In the diagram the "message file" is the file in the maildir's "cur" directory
@@ -114,7 +114,8 @@
def setMaildir(self, maildir):
"""Set the maildir.
- This method is used just to provide a `maildir` stubs ."""
+ This method is used just to provide a `maildir` stub.
+ """
self.maildir = maildir
def setQueuePath(self, path):
@@ -185,12 +186,12 @@
# other than not existing; we'll report the error
raise
- # if the tmp file exists, check it's age
+ # if the tmp file exists, check its age
if age is not None:
try:
if age > MAX_SEND_TIME:
# the tmp file is "too old"; this suggests
- # that during an attemt to send it, the
+ # that during an attempt to send it, the
# process died; remove the tmp file so we
# can try again
os.unlink(tmp_filename)
@@ -284,7 +285,7 @@
# someone else unlinked the file; oh well
pass
else:
- # something bad happend, log it
+ # something bad happened, log it
raise
finally:
self._lock.release()
@@ -295,7 +296,7 @@
# someone else unlinked the file; oh well
pass
else:
- # something bad happend, log it
+ # something bad happened, log it
raise
# TODO: maybe log the Message-Id of the message sent
@@ -369,7 +370,7 @@
--no-tls Do not use TLS even if is available. Not enabled
by default.
- --config <inifile> Get configuration from specificed ini file; it must
+ --config <inifile> Get configuration from specified ini file; it must
contain a section [app:zope-sendmail].
"""
More information about the checkins
mailing list