[Zope-Checkins] SVN: Zope/branches/philikon-zope32-integration/lib/python/Products/PythonScripts/PythonScript.py Shut up deprecation warnings.

Florent Guillaume fg at nuxeo.com
Tue Nov 1 18:23:14 EST 2005


Log message for revision 39834:
  Shut up deprecation warnings.
  

Changed:
  U   Zope/branches/philikon-zope32-integration/lib/python/Products/PythonScripts/PythonScript.py

-=-
Modified: Zope/branches/philikon-zope32-integration/lib/python/Products/PythonScripts/PythonScript.py
===================================================================
--- Zope/branches/philikon-zope32-integration/lib/python/Products/PythonScripts/PythonScript.py	2005-11-01 22:33:32 UTC (rev 39833)
+++ Zope/branches/philikon-zope32-integration/lib/python/Products/PythonScripts/PythonScript.py	2005-11-01 23:23:14 UTC (rev 39834)
@@ -330,6 +330,14 @@
         if item is self:
             self._filepath = self.get_filepath()
 
+    def manage_beforeDelete(self, item, container):
+        # shut up deprecation warnings
+        pass
+
+    def manage_afterClone(self, item):
+        # shut up deprecation warnings
+        pass
+
     def get_filepath(self):
         return self.meta_type + ':' + '/'.join(self.getPhysicalPath())
 



More information about the Zope-Checkins mailing list