gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject cvs commit: gump/python/gump debug.py
Date Tue, 16 Mar 2004 23:02:50 GMT
ajack       2004/03/16 15:02:50

  Modified:    python/gump/document text.py
               python/gump debug.py
  Log:
  Few more tweaks.
  
  Revision  Changes    Path
  1.12      +25 -6     gump/python/gump/document/text.py
  
  Index: text.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/document/text.py,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- text.py	9 Mar 2004 19:57:06 -0000	1.11
  +++ text.py	16 Mar 2004 23:02:50 -0000	1.12
  @@ -94,6 +94,15 @@
           
           workspace = run.getWorkspace()
           gumpSet = run.getGumpSet()
  +        
  +        #
  +        #
  +        #
  +        quick=run.getOptions().isQuick()
  +        
  +        #
  +        # Where to write this.
  +        #
           output=self.output
               
               
  @@ -113,14 +122,24 @@
           
           indent += ' '
           for module in sortedModuleList:
  -            if not gumpSet.inModuleSequence(module): continue       
  +            if quick:
  +                if not gumpSet.inModules(module): continue       
  +            else:
  +                if not gumpSet.inModuleSequence(module): continue       
  +            
               output.write(indent + "Module [" + module.getName() + "] State: " + module.getStateDescription()
+ "\n")
               output.write(indent + "Projects: " + str(len(module.getProjects())) + "\n")
   
  +            #
  +            # Document all the annotations
  +            #
               self.documentAnnotations(indent,module)
                       
  -            for project in module.getProjects():
  -                if not gumpSet.inProjectSequence(project): continue
  +            for project in module.getProjects():                
  +                if quick:
  +                    if not gumpSet.inProjects(project): continue
  +                else:
  +                    if not gumpSet.inProjectSequence(project): continue
               
                   self.documentProject(indent,project)
                   
  
  
  
  1.2       +1 -1      gump/python/gump/debug.py
  
  Index: debug.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/debug.py,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- debug.py	16 Mar 2004 21:04:46 -0000	1.1
  +++ debug.py	16 Mar 2004 23:02:50 -0000	1.2
  @@ -66,7 +66,7 @@
       result = GumpEngine().performDebug(run)
   
       #
  -    log.info('Gump Update complete. Exit code:' + str(result))
  +    log.info('Gump Debug complete. Exit code:' + str(result))
             
       # bye!
       sys.exit(result)
  
  
  

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


Mime
View raw message