summaryrefslogtreecommitdiffstats
path: root/development/gaphor/fix_zope_component_registry.patch
blob: 36e15aaa417ce16162ab0f9f0ca54a305b7d02d9 (plain)
--- gaphor/services/componentregistry.py.orig	2012-08-08 13:57:32.000000000 +0300
+++ gaphor/services/componentregistry.py	2012-08-08 13:57:57.000000000 +0300
@@ -7,6 +7,7 @@
 """
 
 from zope import interface, component
+from zope.component import registry
 from gaphor.core import inject
 from gaphor.interfaces import IService, IEventFilter
 
@@ -27,7 +28,7 @@
         pass
 
     def init(self, app):
-        self._components = component.registry.Components(
+        self._components = registry.Components(
                                name='component_registry',
                                bases=(component.getGlobalSiteManager(),))