Bernd Dorn wrote:
Log message for revision 75826:
  fix bug in setter method of base_storage, i couldnt be set because of a typo


A part of this fix should be adding a test that fails without this change.

Changed:
  U   zope.app.testing/trunk/src/zope/app/testing/functional.py

-=-
Modified: zope.app.testing/trunk/src/zope/app/testing/functional.py
===================================================================
--- zope.app.testing/trunk/src/zope/app/testing/functional.py   2007-05-17 
23:18:19 UTC (rev 75825)
+++ zope.app.testing/trunk/src/zope/app/testing/functional.py   2007-05-18 
08:15:27 UTC (rev 75826)
@@ -225,7 +225,7 @@
         return self._base_storages[self._database_names[0]]
def _set_base_storage(self, value):
-        if len(self._database_name)!=1:
+        if len(self._database_names)!=1:
             raise AttributeError('base_storage')
         self._base_storages[self._database_names[0]] = value
_______________________________________________
Checkins mailing list
[EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/checkins


--
Benji York
Senior Software Engineer
Zope Corporation
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to