Add licencing, README and file hierarchy
[imap-mark-seen] / warnings_handler.py
diff --git a/warnings_handler.py b/warnings_handler.py
deleted file mode 100644 (file)
index c8fb4f6..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-'''
-imap-mark-seen.py - Tool to mark all e-mails as seen
-
-Copyright (c) 2012 Intra2net AG
-Author: Plamen Dimitrov and Thomas Jarosch
-'''
-import logging
-
-class WarningsHandler(logging.Handler):
-    """This class iterates through the e-mail files."""
-
-    # class attributes
-    detected_problems = None
-
-    def __init__(self):
-        """Initialize a handler to count number of warnings."""
-
-        logging.Handler.__init__(self)
-        self.detected_problems = 0
-
-    def emit(self, record):
-        """Increase number of warnings found"""
-        self.detected_problems += 1