gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject cvs commit: jakarta-gump/python/gump model.py
Date Thu, 01 May 2003 19:54:59 GMT
rubys       2003/05/01 12:54:58

  Modified:    python/gump model.py
  Log:
  Correct home directory for projects whose name differs from the module
  
  Revision  Changes    Path
  1.5       +5 -3      jakarta-gump/python/gump/model.py
  
  Index: model.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/model.py,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- model.py	1 May 2003 17:24:15 -0000	1.4
  +++ model.py	1 May 2003 19:54:58 -0000	1.5
  @@ -170,6 +170,8 @@
       elif not self.home: 
         if type(self.package) in types.StringTypes:
           self.home=os.path.join(workspace.pkgdir,self.package)
  +      elif self.module:
  +        self.home=Module.list[self.module].srcdir
         else:
           self.home=os.path.join(workspace.basedir,self.name)
   
  
  
  

Mime
View raw message