[Zope-Checkins] SVN: Zope/trunk/lib/python/ Remove deprecated stuff that's scheduled for removal in Zope 2.11

Philipp von Weitershausen philikon at philikon.de
Sun Jun 3 05:47:21 EDT 2007


Log message for revision 76196:
  Remove deprecated stuff that's scheduled for removal in Zope 2.11
  

Changed:
  D   Zope/trunk/lib/python/ImageFile.py
  D   Zope/trunk/lib/python/Zope.py

-=-
Deleted: Zope/trunk/lib/python/ImageFile.py
===================================================================
--- Zope/trunk/lib/python/ImageFile.py	2007-06-03 09:37:52 UTC (rev 76195)
+++ Zope/trunk/lib/python/ImageFile.py	2007-06-03 09:47:20 UTC (rev 76196)
@@ -1,23 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2002 Zope Corporation and Contributors. All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE
-#
-##############################################################################
-"""Image object that is stored in a file"""
-
-__version__='$Revision: 1.13 $'[11:-2]
-
-############################################################
-# BBB 2005/11/18 -- This module will be removed in Zope 2.11
-#
-from App.ImageFile import ImageFile
-import warnings
-warnings.warn("The ImageFile module will be removed in Zope 2.11. "
-              "Use App.ImageFile instead.", DeprecationWarning, stacklevel=2)

Deleted: Zope/trunk/lib/python/Zope.py
===================================================================
--- Zope/trunk/lib/python/Zope.py	2007-06-03 09:37:52 UTC (rev 76195)
+++ Zope/trunk/lib/python/Zope.py	2007-06-03 09:47:20 UTC (rev 76196)
@@ -1,26 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2005 Zope Corporation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""Legacy Zope "package" that redirects to the new Zope 2 package
-
-$Id$
-"""
-
-import sys, Zope2
-sys.modules['Zope'] = Zope2
-
-import warnings
-warnings.warn("The Zope package has been renamed to Zope2. "
-              "Import of a package named 'Zope' is deprecated "
-              "and will be disabled starting in Zope 2.11.",
-              DeprecationWarning, stacklevel=2)



More information about the Zope-Checkins mailing list