589 |
|
cmscp_exit_status = 0 |
590 |
|
txt = '' |
591 |
|
for file, dict in results.iteritems(): |
592 |
< |
reason="'%s'"%dict['reason'] |
592 |
> |
reason = str(dict['reason']) |
593 |
> |
if str(reason).find("'") > -1: |
594 |
> |
reason = " ".join(reason.split("'")) |
595 |
> |
reason="'%s'"%reason |
596 |
|
if file: |
597 |
|
if dict['lfn']=='': |
598 |
|
lfn = '$LFNBaseName/'+os.path.basename(file) |
600 |
|
else: |
601 |
|
lfn = dict['lfn']+os.path.basename(file) |
602 |
|
se = dict['se'] |
600 |
– |
|
603 |
|
#dict['lfn'] # to be implemented |
604 |
|
txt += 'echo "Report for File: '+file+'"\n' |
605 |
|
txt += 'echo "LFN: '+lfn+'"\n' |