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/document resolver.py
Date Tue, 30 Mar 2004 14:40:59 GMT
ajack       2004/03/30 06:40:59

  Modified:    python/gump commandLine.py
               python/gump/document resolver.py
  Log:
  Quick fix (hopefully) to two bugs stopping runs last night.
  First, --dated on brutus 
  Second, getLink(GumpEnvironment) surfaced when not expected & wasn't coded.
  
  Revision  Changes    Path
  1.3       +1 -1      gump/python/gump/commandLine.py
  
  Index: commandLine.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/commandLine.py,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- commandLine.py	19 Mar 2004 23:11:46 -0000	1.2
  +++ commandLine.py	30 Mar 2004 14:40:58 -0000	1.3
  @@ -103,7 +103,7 @@
                   #
                   # Dated means add the date to the log dir...
                   #
  -                options.setDated(1)                    
  +                self.options.setDated(1)                    
                   log.info('Dated Operation (add date to log dir)')
               elif arg in ['-t','--text']:
                   argv.remove(arg)        
  
  
  
  1.18      +11 -3     gump/python/gump/document/resolver.py
  
  Index: resolver.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/document/resolver.py,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- resolver.py	12 Mar 2004 02:50:52 -0000	1.17
  +++ resolver.py	30 Mar 2004 14:40:59 -0000	1.18
  @@ -78,6 +78,9 @@
   from gump.output.xref import XRefGuru
   from gump.utils.work import *
   from gump.utils.file import *
  +
  +from gump.gumpenv import GumpEnvironment
  +
   from gump.model.repository import Repository
   from gump.model.server import Server
   from gump.model.tracker import Tracker
  @@ -143,6 +146,8 @@
       # Determine Path
       if isinstance(object, Workspace):
           path=Path()
  +    elif isinstance(object, GumpEnvironment):
  +        path=Path()
       elif isinstance(object, Repository):
           path=Path(['gump_repo'])
       elif isinstance(object, Server):
  @@ -241,6 +246,8 @@
           or isinstance(object,StatisticsGuru) 	\
           or isinstance(object,XRefGuru) :    
           document="index"+extn
  +    elif isinstance(object, GumpEnvironment):
  +        document="environment"+extn            
       elif isinstance(object, Project) 	\
           or isinstance(object, Server)	\
           or isinstance(object, Tracker)	\
  @@ -261,6 +268,7 @@
   def getIndexForObject(object):
       
       if 	isinstance(object, Workspace)	or	\
  +        isinstance(object, GumpEnvironment)	or	\
           isinstance(object, Server)	or	\
           isinstance(object, Tracker)	or	\
           isinstance(object, Repository)	or	\
  
  
  

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


Mime
View raw message