summaryrefslogtreecommitdiffstats
path: root/development/gaphor/fix_zope_component_registry.patch
diff options
context:
space:
mode:
Diffstat (limited to 'development/gaphor/fix_zope_component_registry.patch')
-rw-r--r--development/gaphor/fix_zope_component_registry.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/development/gaphor/fix_zope_component_registry.patch b/development/gaphor/fix_zope_component_registry.patch
new file mode 100644
index 0000000000..36e15aaa41
--- /dev/null
+++ b/development/gaphor/fix_zope_component_registry.patch
@@ -0,0 +1,19 @@
+--- 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(),))
+