[Zope-CVS] CVS: Packages/ContextWrapper - test_wrapper.py:1.6

Fred Drake Jr fdrake@acm.org
Fri, 16 Nov 2001 11:27:09 -0500


Update of /cvs-repository/Packages/ContextWrapper
In directory cvs.zope.org:/tmp/cvs-serv9584

Modified Files:
	test_wrapper.py 
Log Message:
Re-order statements in MyWrapper.__init__() so the new setattr support will
not blow up.  The underlying support needs revision so this subtlety is not
an issue, but I need to figure out just what changes are needed still.


=== Packages/ContextWrapper/test_wrapper.py 1.5 => 1.6 ===
         class MyWrapper(wrapper.Wrapper):
             def __init__(self, ob):
-                self.foo = 1
                 super(MyWrapper, self).__init__(ob)
+                self.foo = 1
 
         o = Thing()
         o.foo = 'not 1'