gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject cvs commit: jakarta-gump/python/gump repository.py
Date Tue, 21 Oct 2003 23:54:01 GMT
ajack       2003/10/21 16:54:01

  Modified:    python/gump repository.py
  Log:
  Attempt to survive/diagnose repo issue on LSD.
  
  Revision  Changes    Path
  1.5       +4 -2      jakarta-gump/python/gump/repository.py
  
  Index: repository.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/repository.py,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- repository.py	7 Oct 2003 19:26:58 -0000	1.4
  +++ repository.py	21 Oct 2003 23:54:01 -0000	1.5
  @@ -111,8 +111,10 @@
           cdir=self.getGroupDir(group)
           jarname=os.path.basename(jar)
           newjar=os.path.join(cdir,jarname)
  -        copyfile(jar,newjar)
  -        
  +        try:
  +            copyfile(jar,newjar)
  +        except Exception, details:
  +            log.error('Failed to copy [' + str(jar) + '] to [' + str(newjar) + '] : ' +
str(details))
           
   
   # static void main()
  
  
  

Mime
View raw message