CVS: Products/Basket - __init__.py:1.21

Chris McDonough <[email protected]>
Newsgroups gmane.comp.web.zope.public-cvs
Message-ID <[email protected]>
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

_______________________________________________
Zope-CVS maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zope-cvs

Zope CVS instructions: http://dev.zope.org/CVS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.