[Zope3-checkins] CVS: Zope3/src/zodb/query - relation.py:1.1.2.2

Jeremy Hylton jeremy@zope.com
Fri, 25 Apr 2003 19:03:50 -0400


Update of /cvs-repository/Zope3/src/zodb/query
In directory cvs.zope.org:/tmp/cvs-serv5464

Modified Files:
      Tag: jeremy-query-branch
	relation.py 
Log Message:
Add XXX comment: We've got the names backwards.


=== Zope3/src/zodb/query/relation.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zodb/query/relation.py:1.1.2.1	Fri Apr 25 19:00:01 2003
+++ Zope3/src/zodb/query/relation.py	Fri Apr 25 19:03:49 2003
@@ -90,6 +90,8 @@
         self.other = other
         self.name = find_attribute_name(other)
         self.many = many
+        # XXX This is the wrong name!  It's the name of the other
+        # descriptor.
         self.attr = "_r_" + self.name
 
     def get(self, obj):