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 :