You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by aj...@apache.org on 2003/10/22 01:54:01 UTC
cvs commit: jakarta-gump/python/gump repository.py
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()