107 |
|
for id in self.list_id: |
108 |
|
file = 'out_files_'+ str(id)+'.tgz' |
109 |
|
if os.path.exists(file): |
110 |
+ |
print 'ecco' |
111 |
|
cmd = 'tar zxvf '+file |
112 |
|
cmd_out = runCommand(cmd) |
113 |
|
cmd_2 ='rm out_files_'+ str(id)+'.tgz' |
114 |
< |
cmd_out2 = runCommand(cmd_2) |
114 |
> |
# cmd_out2 = runCommand(cmd_2) |
115 |
|
else: |
116 |
< |
msg ="Output files for job "+ str(id) +"not available.\n" |
117 |
< |
common.logger.message(msg) |
116 |
> |
msg ="Output files for job "+ str(id) +" not available.\n" |
117 |
> |
common.logger.message(msg) |
118 |
> |
continue |
119 |
|
input = 'crab_fjr_' + str(id) + '.xml' |
120 |
|
if os.path.exists(input): |
121 |
|
codeValue = self.parseFinalReport(input) |