[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/app/rdb/ Remove un-necessary dependencies on zope.app and some whitespace.

Brian Sutherland jinty at web.de
Tue Apr 11 03:53:50 EDT 2006


Log message for revision 66828:
  Remove un-necessary dependencies on zope.app and some whitespace.

Changed:
  U   Zope3/branches/jim-adapter/src/zope/app/rdb/interfaces.py
  U   Zope3/branches/jim-adapter/src/zope/app/rdb/tests/rdb.zcml

-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/rdb/interfaces.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/rdb/interfaces.py	2006-04-11 06:53:08 UTC (rev 66827)
+++ Zope3/branches/jim-adapter/src/zope/app/rdb/interfaces.py	2006-04-11 07:53:50 UTC (rev 66828)
@@ -18,9 +18,11 @@
 from zope.interface import Interface
 from zope.interface import Attribute
 from zope.schema import TextLine
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.i18nmessageid import MessageFactory
 
+_ = MessageFactory('zope')
 
+
 class IDBITypeInfoProvider(Interface):
     """This object can get the Type Info for a particular DBI
     implementation."""

Modified: Zope3/branches/jim-adapter/src/zope/app/rdb/tests/rdb.zcml
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/rdb/tests/rdb.zcml	2006-04-11 06:53:08 UTC (rev 66827)
+++ Zope3/branches/jim-adapter/src/zope/app/rdb/tests/rdb.zcml	2006-04-11 07:53:50 UTC (rev 66828)
@@ -1,13 +1,12 @@
 <configure xmlns="http://namespaces.zope.org/zope"
            xmlns:rdb="http://namespaces.zope.org/rdb">
 
-  <include package="zope.app.component" file="meta.zcml"/>
   <include package="zope.app.rdb" file="meta.zcml"/>
 
 
-  <rdb:provideConnection 
+  <rdb:provideConnection
       name="stub"
       component="zope.app.rdb.tests.test_zopedatabaseadapter.DAStub"
       dsn="dbi://dbname" />
- 
+
 </configure>



More information about the Zope3-Checkins mailing list