Commit 1566bc97 authored by Maria Arsuaga Rios's avatar Maria Arsuaga Rios
Browse files

testing reuse

parent 8ef15892
......@@ -496,11 +496,11 @@ class JobBuilder(object):
small_files = 0
for file in self.files:
log.debug(file['user_filesize'])
if (file['user_filesize']) < 104857600:
if file['user_filesize'] < 104857600:
small_files +=1
# if small_files >= len(self.files) - 2:
# self.job['reuse_job'] = 'Y'
# log.debug("Reuse jobs with "+small_files+" small files up to "+len(self.files)+" total files")
if small_files >= (len(self.files) - 2):
#self.job['reuse_job'] = 'Y'
log.debug("Reuse jobs with "+small_files+" small files up to "+len(self.files)+" total files")
def _populate_deletion(self, deletion_dict):
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment