slackbuilds_ponce/development/gaphor/fix_zope_component_registry.patch
Mikko Värri b79abf8086 development/gaphor: Add a patch and a new dependency.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2012-09-10 16:37:33 -05:00

19 lines
650 B
Diff

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