[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/app/publisher/browser/__init__.py Provide BBB import for applySkin

Philipp von Weitershausen philikon at philikon.de
Tue Apr 4 13:29:26 EDT 2006


Log message for revision 66418:
  Provide BBB import for applySkin
  

Changed:
  U   Zope3/branches/jim-adapter/src/zope/app/publisher/browser/__init__.py

-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/publisher/browser/__init__.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/publisher/browser/__init__.py	2006-04-04 17:26:10 UTC (rev 66417)
+++ Zope3/branches/jim-adapter/src/zope/app/publisher/browser/__init__.py	2006-04-04 17:29:25 UTC (rev 66418)
@@ -29,6 +29,19 @@
 
 key = "zope.app.publisher.browser.IUserPreferredLanguages"
 
+##############################################################################
+# BBB 2006/04/03 - to be removed after 12 months
+
+import zope.deferredimport
+zope.deferredimport.deprecated(
+    "applySkin has been moved to zope.publisher.browser. This "
+    "reference will be removed in Zope 3.5.",
+    applySkin = 'zope.publisher.browser:applySkin',
+    )
+
+#
+##############################################################################
+
 class BrowserView(Location):
     """Browser View.
 



More information about the Zope3-Checkins mailing list