Changeset 12418
- Timestamp:
- 8 Jan 2015, 10:27:06 (10 years ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/CHANGES.txt
r12415 r12418 4 4 1.3dev (unreleased) 5 5 =================== 6 7 * Do not compare ResultEntry objects but their attribtes. 6 8 7 9 * Modify getWidgetsData so that we always get the same error format. -
main/waeup.kofa/trunk/src/waeup/kofa/schoolgrades.py
r9055 r12418 42 42 self.grade = grade 43 43 return 44 45 def __eq__(self, obj): 46 default = object() 47 result = [] 48 for name in ('subject', 'grade',): 49 result.append( 50 getattr(self, name) == getattr(obj, name, default)) 51 return False not in result 44 52 45 53 def to_string(self):
Note: See TracChangeset for help on using the changeset viewer.