/[circus]/circus/circus/module.py
ViewVC logotype

Diff of /circus/circus/module.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by tvon, Sun Nov 17 19:18:51 2002 UTC revision 1.8 by tvon, Sun Nov 17 23:11:15 2002 UTC
# Line 29  class Module: Line 29  class Module:
29      # overloaded      # overloaded
30      my_events = []      my_events = []
31    
32        # overloaded
33        my_actions = {}
34    
35      # Set in __load(), values taken from Ringmaster      # Set in __load(), values taken from Ringmaster
36      config = None      config = None
37      display = None      display = None
38    
39      # set by Ringmaster just prior to _load() being called      # set by Ringmaster just prior to _load() being called
40      __name__ = None      name = None
41    
42      # XXX:      # XXX:
43      # Would like to be able to get this info from the main module file...      # Would like to be able to get this info from the main module file...
# Line 54  class Module: Line 57  class Module:
57          sys.stderr.write("This method should be overloaded by the plugin\n")          sys.stderr.write("This method should be overloaded by the plugin\n")
58    
59      def _load(self, config, display):      def _load(self, config, display):
60          sys.stderr.write("Loading module: " + self.__name__ + "\n")          sys.stderr.write("Loading module: " + self.name + "\n")
61          self.config = config          self.config = config
62          self.display = display          self.display = display
63          self.load()          self.load()

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26