[Zope3-checkins] CVS: Zope3/src/zope/app/rdb - __init__.py:1.10

runyaga runyaga@thisbox.com
Sat, 7 Jun 2003 15:18:16 -0400


Update of /cvs-repository/Zope3/src/zope/app/rdb
In directory cvs.zope.org:/tmp/cvs-serv15627

Modified Files:
	__init__.py 
Log Message:
I broke the tests.. reverting back and going to see why this broke before
I check it in.  


=== Zope3/src/zope/app/rdb/__init__.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/rdb/__init__.py:1.9	Sat Jun  7 15:01:12 2003
+++ Zope3/src/zope/app/rdb/__init__.py	Sat Jun  7 15:18:16 2003
@@ -383,8 +383,11 @@
     #<SteveA> the class is supposed to provide the attributes for the instancesa
     #<SteveA> but, either the checker selection thing needs to ignore it for types
     #<SteveA> (which is ropey when you're working with metatypes)
-    #<SteveA> or, it really should be a descriptor that doesn't fuck with the value on the class
-    klass_namespace['__Security_checker__'] = checker.NamesChecker(columns+['__bases__'])
+    #<SteveA> or, it really should be a descriptor that doesn't @#$% with the value on the class
+    #
+    # I broke the tests.. the line below to made it work 
+    # klass_namespace['__Security_checker__'] = checker.NamesChecker(columns+['__bases__']) 
+    klass_namespace['__Security_checker__'] = checker.NamesChecker(columns)
     klass_namespace['__slots__'] = tuple(columns)
 
     return type('GeneratedRowClass', (Row,), klass_namespace)