[Checkins] SVN: zope.app.publisher/trunk/ Replaced zope.deprecation dependency with BBB imports

Shane Hathaway shane at hathawaymix.org
Mon May 25 12:38:48 EDT 2009


Log message for revision 100361:
  Replaced zope.deprecation dependency with BBB imports
  

Changed:
  U   zope.app.publisher/trunk/CHANGES.txt
  U   zope.app.publisher/trunk/setup.py
  U   zope.app.publisher/trunk/src/zope/app/publisher/browser/__init__.py

-=-
Modified: zope.app.publisher/trunk/CHANGES.txt
===================================================================
--- zope.app.publisher/trunk/CHANGES.txt	2009-05-25 16:35:29 UTC (rev 100360)
+++ zope.app.publisher/trunk/CHANGES.txt	2009-05-25 16:38:48 UTC (rev 100361)
@@ -5,7 +5,7 @@
 3.8.1 (unreleased)
 ==================
 
-- ...
+- Replaced zope.deprecation dependency with BBB imports
 
 3.8.0 (2009-05-23)
 ==================

Modified: zope.app.publisher/trunk/setup.py
===================================================================
--- zope.app.publisher/trunk/setup.py	2009-05-25 16:35:29 UTC (rev 100360)
+++ zope.app.publisher/trunk/setup.py	2009-05-25 16:38:48 UTC (rev 100361)
@@ -47,7 +47,6 @@
                         'zope.container',
                         'zope.contenttype',
                         'zope.datetime',
-                        'zope.deprecation',
                         'zope.i18n',
                         'zope.interface',
                         'zope.location',

Modified: zope.app.publisher/trunk/src/zope/app/publisher/browser/__init__.py
===================================================================
--- zope.app.publisher/trunk/src/zope/app/publisher/browser/__init__.py	2009-05-25 16:35:29 UTC (rev 100360)
+++ zope.app.publisher/trunk/src/zope/app/publisher/browser/__init__.py	2009-05-25 16:38:48 UTC (rev 100361)
@@ -21,13 +21,9 @@
 from zope.i18n.interfaces import IUserPreferredLanguages
 from zope.i18n.interfaces import IModifiableUserPreferredLanguages
 
-from zope.deprecation import deprecated
-from zope.publisher.defaultview import IDefaultViewNameAPI
-from zope.publisher.defaultview import getDefaultViewName
-from zope.publisher.defaultview import queryDefaultViewName
-deprecated(
-    ['IDefaultViewNameAPI', 'getDefaultViewName', 'queryDefaultViewName'],
-    "moved to zope.publisher.defaultview")
+from zope.publisher.defaultview import IDefaultViewNameAPI #BBB import
+from zope.publisher.defaultview import getDefaultViewName #BBB import
+from zope.publisher.defaultview import queryDefaultViewName #BBB import
 
 
 class NotCompatibleAdapterError(Exception):



More information about the Checkins mailing list