[Zope3-checkins] CVS: ZODB4/src/zodb/code - class_.py:1.20

Jeremy Hylton cvs-admin at zope.org
Wed Oct 29 14:31:48 EST 2003


Update of /cvs-repository/ZODB4/src/zodb/code
In directory cvs.zope.org:/tmp/cvs-serv13792

Modified Files:
	class_.py 
Log Message:
Fix logic for __getattribute__().


=== ZODB4/src/zodb/code/class_.py 1.19 => 1.20 ===
--- ZODB4/src/zodb/code/class_.py:1.19	Fri Jun  6 12:03:16 2003
+++ ZODB4/src/zodb/code/class_.py	Wed Oct 29 14:31:48 2003
@@ -295,7 +295,7 @@
         # like _p_state, since they may not be initialized.
         if not super_meth("_pc_init"):
             return super_meth(name)
-        if (name[0] == "_" and
+        if (name[0] != "_" or
             not (name.startswith("_p_") or name.startswith("_pc_") or
                  name == "__dict__")):
             if cls._p_state == GHOST:




More information about the Zope3-Checkins mailing list