ajack       2004/06/30 09:02:36

  Modified:    python/gump/model Tag: CleanUp workspace.py
  Log:
  Typos.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.51.2.12 +4 -4      gump/python/gump/model/workspace.py
  
  Index: workspace.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/model/workspace.py,v
  retrieving revision 1.51.2.11
  retrieving revision 1.51.2.12
  diff -u -r1.51.2.11 -r1.51.2.12
  --- workspace.py      30 Jun 2004 15:43:31 -0000      1.51.2.11
  +++ workspace.py      30 Jun 2004 16:02:36 -0000      1.51.2.12
  @@ -226,7 +226,7 @@
           
           
       def isMultithreading(self):
  -        return self.hasUpdaters() or elf.hasBuilders()
  +        return self.hasUpdaters() or self.hasBuilders()
           
       def hasUpdaters(self):
           return (0 < self.updaters)
  @@ -240,7 +240,7 @@
           
       #:TODO: Note, not implemented yet
       def getBuilders(self):
  -        return (0 < self.builders)
  +        return self.builders
           
       def complete(self):        
           if self.isComplete(): return
  @@ -337,8 +337,8 @@
                   project.complete(self)   
                   
           # Mutlithreading
  -        if self.hasDomChildElement('threads'):
  -            threads=self.getDomChildElement('threads')
  +        if self.hasDomChild('threads'):
  +            threads=self.getDomChild('threads')
               if hasDomAttribute(threads,'updaters'):
                   self.updaters=int(getDomAttribute(threads,'updaters'))
               if hasDomAttribute(threads,'builders'):
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to