ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/PhEDExDatasvcInfo.py
(Generate patch)

Comparing COMP/CRAB/python/PhEDExDatasvcInfo.py (file contents):
Revision 1.18 by fanzago, Mon Dec 8 16:37:46 2008 UTC vs.
Revision 1.19 by fanzago, Fri Jan 30 13:19:25 2009 UTC

# Line 102 | Line 102 | class PhEDExDatasvcInfo:
102                  SE_PATH = endpoint.split(host)[1]
103              USER = (query.split('user')[1]).split('/')[1]
104          else:
105 <            SE = self.node
106 <            SE_PATH = self.user_se_path + self.user_remote_dir
105 >            #### to test #####
106 >            url = 'http://'+endpoint.split('://')[1]
107 >            scheme, host, path, params, query, fragment = urlparse(url)
108 >            SE = host.split(':')[0]
109 >            SE_PATH = endpoint.split(host)[1]
110 >            #SE = self.node
111 >            #SE_PATH = self.user_se_path + self.user_remote_dir
112              try:
113                  USER = (self.lfn.split('user')[1]).split('/')[1]
114              except:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines