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 orphans.py
Date Fri, 21 Feb 2003 00:36:28 GMT
rubys       2003/02/20 16:36:27

  Modified:    python   orphans.py
  Log:
  jardir is optional
  
  Revision  Changes    Path
  1.2       +2 -2      jakarta-gump/python/orphans.py
  
  Index: orphans.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/orphans.py,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- orphans.py	21 Feb 2003 00:06:08 -0000	1.1
  +++ orphans.py	21 Feb 2003 00:36:27 -0000	1.2
  @@ -11,10 +11,10 @@
   
   class Workspace(ContentHandler):
       cvsdir = None
  -    jardir = None
       pkgdir = None
       logdir = None
       basedir = None
  +    jardir = ""
       modules=[]
       packages=[]
       def startElement(self, name, attrs):
  @@ -23,7 +23,7 @@
               self.pkgdir = attrs['pkgdir']
               self.cvsdir = attrs['cvsdir']
               self.basedir = attrs['basedir']
  -            self.jardir = attrs['jardir']
  +            if 'jardir' in attrs: self.jardir = attrs['jardir']
               self.logdir = attrs['logdir']
   	if name == 'module':
   	    attrs=dict(attrs)
  
  
  

Mime
View raw message