You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by ru...@apache.org on 2003/05/01 21:54:59 UTC

cvs commit: jakarta-gump/python/gump model.py

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)