twisted / ampoule

Process pool for Twisted, using AMP
Other
12 stars 19 forks source link

ampoule twistd plugin uses child class for parent #8

Open moshez opened 6 years ago

moshez commented 6 years ago
bzr diff twisted/plugins/ampoule_plugin.py
=== modified file 'twisted/plugins/ampoule_plugin.py'
--- twisted/plugins/ampoule_plugin.py   2008-11-15 23:27:23 +0000
+++ twisted/plugins/ampoule_plugin.py   2010-03-23 21:56:20 +0000
@@ -41,7 +41,7 @@
             """
             self['child'] = reflect.namedAny(self['child'])
             if self['parent'] is not None:
-                self['parent'] = reflect.namedAny(self['child'])
+                self['parent'] = reflect.namedAny(self['parent'])
             if self['name']:
                 self['name'] = self['name'].decode('utf-8')