You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by aj...@apache.org on 2004/05/27 18:47:52 UTC

cvs commit: gump/python/gump/document documenter.py

ajack       2004/05/27 09:47:52

  Modified:    python/gump/document documenter.py
  Log:
  Allow prepareRun to be optional (e.g. for TextDocumenter)
  
  Revision  Changes    Path
  1.17      +2 -2      gump/python/gump/document/documenter.py
  
  Index: documenter.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/document/documenter.py,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- documenter.py	21 May 2004 23:15:04 -0000	1.16
  +++ documenter.py	27 May 2004 16:47:51 -0000	1.17
  @@ -42,10 +42,10 @@
           workspace=self.run.getWorkspace()        
           
           if isinstance(event,InitializeRunEvent):
  -            self.prepareRun()
  +            self.prepare()
           elif isinstance(event,FinalizeRunEvent):
               if self.run.getOptions().isDocument():
  -                self.documentRun()
  +                self.document()
               
       #
       # Call a method called 'prepareRun(run)', if it
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org