[Checkins] SVN: Products.PluginRegistry/trunk/Products/PluginRegistry/ Fixed deprecation warnings for use of Globals.

Hanno Schlichting plone at hannosch.info
Wed Jan 14 12:27:21 EST 2009


Log message for revision 94735:
  Fixed deprecation warnings for use of Globals.
  

Changed:
  U   Products.PluginRegistry/trunk/Products/PluginRegistry/CHANGES.txt
  U   Products.PluginRegistry/trunk/Products/PluginRegistry/PluginRegistry.py
  U   Products.PluginRegistry/trunk/Products/PluginRegistry/utils.py

-=-
Modified: Products.PluginRegistry/trunk/Products/PluginRegistry/CHANGES.txt
===================================================================
--- Products.PluginRegistry/trunk/Products/PluginRegistry/CHANGES.txt	2009-01-14 11:21:40 UTC (rev 94734)
+++ Products.PluginRegistry/trunk/Products/PluginRegistry/CHANGES.txt	2009-01-14 17:27:20 UTC (rev 94735)
@@ -4,6 +4,8 @@
 PluginRegistry 1.2 (unreleased)
 -------------------------------
 
+- Fixed deprecation warnings for use of Globals.
+
 - Purge old zope2 Interface interfaces for Zope 2.12 compatibility.
 
 - Fix bad behaviour when moving the top plugin up.

Modified: Products.PluginRegistry/trunk/Products/PluginRegistry/PluginRegistry.py
===================================================================
--- Products.PluginRegistry/trunk/Products/PluginRegistry/PluginRegistry.py	2009-01-14 11:21:40 UTC (rev 94734)
+++ Products.PluginRegistry/trunk/Products/PluginRegistry/PluginRegistry.py	2009-01-14 17:27:20 UTC (rev 94735)
@@ -18,7 +18,7 @@
 """
 import logging
 
-from Globals import Persistent
+from Persistence import Persistent
 from App.ImageFile import ImageFile
 from Acquisition import Implicit, aq_parent, aq_inner
 from AccessControl import ClassSecurityInfo

Modified: Products.PluginRegistry/trunk/Products/PluginRegistry/utils.py
===================================================================
--- Products.PluginRegistry/trunk/Products/PluginRegistry/utils.py	2009-01-14 11:21:40 UTC (rev 94734)
+++ Products.PluginRegistry/trunk/Products/PluginRegistry/utils.py	2009-01-14 17:27:20 UTC (rev 94735)
@@ -15,7 +15,7 @@
 import os
 import unittest
 
-from Globals import package_home
+from App.Common import package_home
 
 from zope.interface import directlyProvides
 



More information about the Checkins mailing list