
class Warning:

    def __init__(self, description, message = None, value = 1):
        self.message = self.description = description
        if message:
            self.message = message
        self.value = value
        
    def __cmp__(self, other):
        return cmp(self.message, other.message)


@@ -298,8 +298,66 @@
 ssage)%0A%0A
+    def __repr__(self):%0A        return repr(self.message)%0A

add a better repr for debugging