Commit in AccessGrid/AccessGrid on MAIN
AGNodeService.py        +4      -3      
1.117<http://fl-cvs.mcs.anl.gov/viewcvs/viewcvs.cgi/AccessGrid/AccessGrid/AGNodeService.py?rev=1.117&content-type=text/vnd.viewcvs-markup>
 
-><http://fl-cvs.mcs.anl.gov/viewcvs/viewcvs.cgi/AccessGrid/AccessGrid/AGNodeService.py.diff?r1=1.117&r2=1.118>
 
1.118<http://fl-cvs.mcs.anl.gov/viewcvs/viewcvs.cgi/AccessGrid/AccessGrid/AGNodeService.py?rev=1.118&content-type=text/vnd.viewcvs-markup>


Force strip of path from Windows-style package filenames (temp fix)


________________________________
AccessGrid<http://fl-cvs.mcs.anl.gov/viewcvs/viewcvs.cgi/AccessGrid>/AccessGrid<http://fl-cvs.mcs.anl.gov/viewcvs/viewcvs.cgi/AccessGrid/AccessGrid>
AGNodeService.py 
1.117<http://fl-cvs.mcs.anl.gov/viewcvs/viewcvs.cgi/AccessGrid/AccessGrid/AGNodeService.py?rev=1.117&content-type=text/vnd.viewcvs-markup>
 
-><http://fl-cvs.mcs.anl.gov/viewcvs/viewcvs.cgi/AccessGrid/AccessGrid/AGNodeService.py.diff?r1=1.117&r2=1.118>
 
1.118<http://fl-cvs.mcs.anl.gov/viewcvs/viewcvs.cgi/AccessGrid/AccessGrid/AGNodeService.py?rev=1.118&content-type=text/vnd.viewcvs-markup>

diff -u -r1.117 -r1.118
--- AGNodeService.py    1 Oct 2007 19:04:09 -0000       1.117
+++ AGNodeService.py    6 Dec 2007 22:43:20 -0000       1.118
@@ -2,14 +2,14 @@


 # Name:        AGNodeService.py
 # Purpose:
 # Created:     2003/08/02


-# RCS-ID:      $Id: AGNodeService.py,v 1.117 2007/10/01 19:04:09 turam Exp $


+# RCS-ID:      $Id: AGNodeService.py,v 1.118 2007/12/06 22:43:20 turam Exp $


 # Copyright:   (c) 2003
 # Licence:     See COPYING.txt
 #-----------------------------------------------------------------------------
 """
 """



-__revision__ = "$Id: AGNodeService.py,v 1.117 2007/10/01 19:04:09 turam Exp $"


+__revision__ = "$Id: AGNodeService.py,v 1.118 2007/12/06 22:43:20 turam Exp $"




 import os


@@ -613,7 +613,8 @@


                     # Create Service section
                     #
                     servicemanager_services += serviceSection + " "


-                    configParser.set( serviceSection, "packageName", 
os.path.basename( service.packageFile ) )


+                    packageName = 
os.path.basename(service.packageFile).split('\\')[-1]
+                    configParser.set( serviceSection, "packageName", 
packageName)



                     numServices += 1



CVSspam<http://www.badgers-in-foil.co.uk/projects/cvsspam/> 0.2.8

Reply via email to