From fdaabcc6a3a08913209d1c72d233d52f6eb80117 Mon Sep 17 00:00:00 2001 From: Doug Benjamin Date: Wed, 8 Jul 2020 16:17:56 -0500 Subject: [PATCH] more protection against blank fileSpec.lfn --- pandaharvester/harvesterstager/go_bulk_stager.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pandaharvester/harvesterstager/go_bulk_stager.py b/pandaharvester/harvesterstager/go_bulk_stager.py index 24142cde..efa9f08b 100644 --- a/pandaharvester/harvesterstager/go_bulk_stager.py +++ b/pandaharvester/harvesterstager/go_bulk_stager.py @@ -248,6 +248,11 @@ def check_stage_out_status(self, jobspec): # loop over all files ifile = 0 for fileSpec in fileSpecs: + # protect against blank lfn's + if not fileSpec.lfn : + msgStr = 'fileSpec.lfn is empty' + tmpLog.debug(msgStr) + continue logfile = False scope ='panda' if fileSpec.scope is not None :