slackbuilds_ponce/development/gaphor/fix_zope_component_registry.patch

20 lines
650 B
Diff
Raw Normal View History

--- 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(),))