[grassyknoll commit] r978 - branches/unhork/grassyknoll/lib

0 views
Skip to first unread message

codesite...@google.com

unread,
Dec 30, 2008, 1:20:17 PM12/30/08
to grassykno...@googlegroups.com
Author: jemfinch
Date: Tue Dec 30 10:11:56 2008
New Revision: 978

Modified:
branches/unhork/grassyknoll/lib/Model.py

Log:
Issue #160: Forgot this __dict__ set.


Modified: branches/unhork/grassyknoll/lib/Model.py
==============================================================================
--- branches/unhork/grassyknoll/lib/Model.py (original)
+++ branches/unhork/grassyknoll/lib/Model.py Tue Dec 30 10:11:56 2008
@@ -164,7 +164,7 @@
else:
self.__fields__.pop(name, None)
self.__schemas__.pop(name, None)
- self.__dict__[name] = value
+ super(Model, self).__setattr__(name, value)

def __delattr__(self, name):
self.__schemas__.pop(name, None)

Reply all
Reply to author
Forward
0 new messages