98 |
|
######### second solution ############### |
99 |
|
self.forced_path = cfg_params.get("USER.caf_lfn", '/store/caf/user') |
100 |
|
######################################### |
101 |
< |
print "--->>> FORCING THE FIRST PART OF LFN WITH ", self.forced_path |
101 |
> |
#print "--->>> FORCING THE FIRST PART OF LFN WITH ", self.forced_path |
102 |
|
self.SE = {'CAF':'caf.cern.ch'} |
103 |
|
self.srm_version = 'stageout' |
104 |
< |
print "--->>> query with 'stageout' " |
104 |
> |
#print "--->>> query with 'stageout' " |
105 |
|
######################################### |
106 |
|
|
107 |
|
if not self.usePhedex: |
264 |
|
params = {'node' : self.node , 'lfn': self.lfn , 'protocol': self.protocol} |
265 |
|
datasvc_lfn2pfn="%s/lfn2pfn"%self.datasvc_url |
266 |
|
fullurl="%s/lfn2pfn?node=%s&lfn=%s&protocol=%s"%(self.datasvc_url,self.node,self.lfn,self.protocol) |
267 |
< |
print "--->>> fullurl = ", fullurl |
267 |
> |
#print "--->>> fullurl = ", fullurl |
268 |
|
domlfn2pfn = self.domPhedex(params,datasvc_lfn2pfn) |
269 |
|
if not domlfn2pfn : |
270 |
|
msg="Unable to get info from %s"%fullurl |