[Zope3-checkins] SVN: Zope3/trunk/ Fixed issue 547: return 'add_content' for backward-compatibility.

Dmitry Vasiliev dima at hlabs.spb.ru
Thu Feb 16 07:51:57 EST 2006


Log message for revision 41633:
  Fixed issue 547: return 'add_content' for backward-compatibility.
  Removed 'zope.app.container.browser.adding.ContentAdding'.
  

Changed:
  U   Zope3/trunk/doc/CHANGES.txt
  U   Zope3/trunk/src/zope/app/container/browser/adding.py

-=-
Modified: Zope3/trunk/doc/CHANGES.txt
===================================================================
--- Zope3/trunk/doc/CHANGES.txt	2006-02-16 09:19:01 UTC (rev 41632)
+++ Zope3/trunk/doc/CHANGES.txt	2006-02-16 12:51:57 UTC (rev 41633)
@@ -38,6 +38,9 @@
 
     Bug Fixes
 
+      - Fixed issue 547: return 'add_content' for backward-compatibility.
+        Removed 'zope.app.container.browser.adding.ContentAdding'.
+
       - Fixed issue 544: VocabularyRegistryError missing import.
 
       - Fixed issue 536: ErrorLogUtility has UnboundLocalError.

Modified: Zope3/trunk/src/zope/app/container/browser/adding.py
===================================================================
--- Zope3/trunk/src/zope/app/container/browser/adding.py	2006-02-16 09:19:01 UTC (rev 41632)
+++ Zope3/trunk/src/zope/app/container/browser/adding.py	2006-02-16 12:51:57 UTC (rev 41633)
@@ -18,7 +18,9 @@
 
 $Id$
 """
+
 __docformat__ = 'restructuredtext'
+
 from warnings import warn
 
 import zope.security.checker
@@ -41,6 +43,7 @@
 from zope.app.publisher.browser import BrowserView
 from zope.app.publisher.browser.menu import getMenu
 
+
 class Adding(BrowserView):
     implements(IAdding, IPublishTraverse)
 
@@ -199,9 +202,3 @@
            if 'has_custom_add_view' in menu_item:
                return True
        return False
-
-
-class ContentAdding(Adding):
-
-    menu_id = "add_content"
-



More information about the Zope3-Checkins mailing list