From 37f96c1c840a62e9ef85dedb6d8a3079cb3c32ac Mon Sep 17 00:00:00 2001 From: Nikolaus Schulz Date: Tue, 5 Aug 2008 18:23:52 +0200 Subject: Remove unused method Mbox.is_empty() --- archivemail.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'archivemail.py') 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: -- cgit v1.2.3