[z3-checkins] r7220 - z3/bdbxml

philikon at codespeak.net philikon at codespeak.net
Thu Nov 11 17:00:44 MET 2004


Author: philikon
Date: Thu Nov 11 17:00:44 2004
New Revision: 7220

Modified:
   z3/bdbxml/__init__.py
Log:
use two different unique objects to be sure we aren't doing something
funny to both sides of the same object


Modified: z3/bdbxml/__init__.py
==============================================================================
--- z3/bdbxml/__init__.py	(original)
+++ z3/bdbxml/__init__.py	Thu Nov 11 17:00:44 2004
@@ -32,9 +32,9 @@
         The value returned is a mapping object that also has `get`,
         `has_key`, `keys`, `items`, and `values` methods.
         """
-
         first = DBXMLDocument()
-        return {'first': first, 'favicon': first}
+        second = DBXMLDocument()
+        return {'first': first, 'second': second}
 
     def keys(self):
         '''See interface `IReadContainer`'''


More information about the z3-checkins mailing list