[Zope-Checkins] SVN: Zope/trunk/ deprecated ZGadfly/Gadfly

Andreas Jung andreas at andreas-jung.com
Thu Dec 22 06:37:45 EST 2005


Log message for revision 40981:
  deprecated ZGadfly/Gadfly
  

Changed:
  U   Zope/trunk/doc/CHANGES.txt
  U   Zope/trunk/lib/python/Products/ZGadflyDA/__init__.py

-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt	2005-12-22 11:32:11 UTC (rev 40980)
+++ Zope/trunk/doc/CHANGES.txt	2005-12-22 11:37:44 UTC (rev 40981)
@@ -28,6 +28,8 @@
 
       - ZClasses are deprecated and should no longer be used.
 
+      - ZGadyFlyDA/Gadfly is deprecated
+
       - Added a "clock server" servertype which allows users to
         configure methods that should be called periodically as if
         they were being called by a remote user agent on one of Zope's

Modified: Zope/trunk/lib/python/Products/ZGadflyDA/__init__.py
===================================================================
--- Zope/trunk/lib/python/Products/ZGadflyDA/__init__.py	2005-12-22 11:32:11 UTC (rev 40980)
+++ Zope/trunk/lib/python/Products/ZGadflyDA/__init__.py	2005-12-22 11:37:44 UTC (rev 40981)
@@ -15,6 +15,12 @@
 $Id$
 """
 
+import warnings
+warnings.warn('Using Gadfly and ZGadflyDA is deprecated. The module will be '
+              'removed in Zope 2.11)', 
+              DeprecationWarning,
+              stacklevel=2) 
+
 import Globals, os
 
 classes=('DA.Connection',)



More information about the Zope-Checkins mailing list