[Zope-CVS] CVS: Products/Basket - __init__.py:1.21

Chris McDonough chrism at plope.com
Wed Nov 9 21:30:13 EST 2005


Update of /cvs-repository/Products/Basket
In directory cvs.zope.org:/tmp/cvs-serv2756

Modified Files:
	__init__.py 
Log Message:
Jackboot was fun, but probably not required.


=== Products/Basket/__init__.py 1.20 => 1.21 ===
--- Products/Basket/__init__.py:1.20	Wed Nov  9 19:40:46 2005
+++ Products/Basket/__init__.py	Wed Nov  9 21:30:12 2005
@@ -144,20 +144,6 @@
 basket = Basket()
 initialize = basket.initialize
 
-class Jackboot(object):
-    """
-    Nazi-like proxy for an object to replace this package in
-    sys.modules... Basket is born deprecated, and nothing but the
-    Zope core should try to use it... if you can get around this,
-    you DESERVE TO LOSE! ;-)
-    """
-    def __setattr__(self, k, v):
-        raise DeprecationWarning('This package is deprecated, '
-                                 'do not monkey-patch it!')
-    def __getattribute__(self, k):
-        raise DeprecationWarning('This package is deprecated, do not import '
-                                 'it directly!')
-
 # Poke the resource classes into the Zope package tree where they will 
 # wind up in a future zope version, maybe
 import resource



More information about the Zope-CVS mailing list