mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
20 lines
650 B
Diff
20 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(),))
|
||
|
|