diff options
Diffstat (limited to 'archivemail.py')
-rwxr-xr-x | archivemail.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/archivemail.py b/archivemail.py index 2550b67..1887ee1 100755 --- a/archivemail.py +++ b/archivemail.py @@ -395,10 +395,6 @@ class Mbox(mailbox.UnixMailbox): vprint("removing file '%s'" % self.mbox_file_name) os.remove(file_name) - def is_empty(self): - """Return true if the 'mbox' file is empty, false otherwise""" - return (os.path.getsize(self.mbox_file_name) == 0) - def close(self): """Close the mbox file""" if not self.mbox_file_closed: |