Changes between Version 39 and Version 40 of RemovingTheMagic
- Timestamp:
- Jan 14, 2006, 12:04:29 AM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RemovingTheMagic
v39 v40 170 170 def save(self): 171 171 self.do_something() 172 super(Person, self).save( self) # Call the "real" save() method.172 super(Person, self).save() # Call the "real" save() method. 173 173 self.do_something_else() 174 174 }}} … … 184 184 def save(self): 185 185 if datetime.date.today() > datetime.date(2005, 1, 1): 186 super(Person, self).save( self) # Call the "real" save() method.186 super(Person, self).save() # Call the "real" save() method. 187 187 else: 188 188 # Don't save.