Index: /main/waeup.kofa/trunk/src/waeup/kofa/schoolgrades.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/schoolgrades.py	(revision 12425)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/schoolgrades.py	(revision 12426)
@@ -29,4 +29,8 @@
 
 
+#: A unique default value.
+DEFAULT_VALUE = object()
+
+
 class ResultEntry(grok.Model):
     """A result entry contains a subject and a grade.
@@ -45,10 +49,19 @@
 
     def __eq__(self, obj):
-        default = object()
-        result = []
+        """Two ResultEntry objects are equal if their `subject` and
+           `grade` are equal.
+        """
         for name in ('subject', 'grade',):
-            result.append(
-                getattr(self, name) == getattr(obj, name, default))
-        return False not in result
+            if getattr(self, name) != getattr(obj, name, DEFAULT_VALUE):
+                return False
+        return True
+
+    def __ne__(self, other):
+        """Two ResultEntries are not equal, if their equality test fails.
+
+        a != b <-> not(a == b). Python doc tell, that __ne__ should
+        also be rovided, whenever __eq__ is implemented.
+        """
+        return not self.__eq__(other)
 
     def to_string(self):
