Home | Trees | Indices | Help |
|
---|
|
1 """ 2 Useless observers. 3 4 Well, maybe they aren't useless, but at least they are not intended for 5 "normal" use. 6 """ 7 8 #c Copyright 2008-2019, the GAVO project 9 #c 10 #c This program is free software, covered by the GNU GPL. See the 11 #c COPYING file in the source distribution. 12 13 14 from __future__ import print_function 15 16 from gavo.base import ObserverBase 1719 """is an observer that just dumps all events. 20 """29 30 3622 ObserverBase.__init__(self, dispatcher) 23 for eventType in dispatcher.eventTypes: 24 dispatcher.subscribe(eventType, 25 lambda arg, eventType=eventType: self.dumpStuff(arg, eventType))26
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |