diff options
author | Nikolaus Schulz <microschulz@web.de> | 2009-12-30 22:01:03 +0100 |
---|---|---|
committer | Nikolaus Schulz <microschulz@web.de> | 2010-07-19 01:40:25 +0200 |
commit | 0f2b04ff8954c5b92bb0f70708877a02f405b62c (patch) | |
tree | 5fdf541f8f9e612c71bb303b1b9182004c5a5a9c | |
parent | b9b2174c45e90bade3940411c81e15ab4bc32bbc (diff) | |
download | archivemail-0f2b04ff8954c5b92bb0f70708877a02f405b62c.tar.gz archivemail-0f2b04ff8954c5b92bb0f70708877a02f405b62c.tar.bz2 archivemail-0f2b04ff8954c5b92bb0f70708877a02f405b62c.zip |
Minor docstring/whitespace fixes
-rwxr-xr-x | archivemail.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/archivemail.py b/archivemail.py index 0633718..f927f60 100755 --- a/archivemail.py +++ b/archivemail.py @@ -454,7 +454,7 @@ class Mbox(mailbox.UnixMailbox, LockableMboxMixin): self.original_mtime)) def get_size(self): - """Return the current size of the mbox file""" + """Return the current size of the mbox file on disk""" return os.path.getsize(self.mbox_file_name) def overwrite_with(self, mbox_filename): @@ -489,7 +489,7 @@ class ArchiveMbox(LockableMboxMixin): class TempMbox: - """An write-only temporary mbox. No locking methods.""" + """A write-only temporary mbox. No locking methods.""" def __init__(self, prefix=tempfile.template): """Creates a temporary mbox file.""" @@ -565,6 +565,7 @@ class TempMbox: os.remove(self.mbox_file_name) _stale.temp_mboxes.remove(self.mbox_file_name) + class CompressedTempMbox(TempMbox): """A compressed version of a TempMbox.""" @@ -1055,7 +1056,7 @@ def archive(mailbox_name): """Archives a mailbox. Arguments: - mailbox_name -- the filename/dirname of the mailbox to be archived + mailbox_name -- the filename/dirname/url of the mailbox to be archived """ assert(mailbox_name) |