Changeset 12418 for main/waeup.kofa/trunk/src
- Timestamp:
- 8 Jan 2015, 10:27:06 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.