Skip to content

Commit

Permalink
Merge pull request #74 from dougbenjamin/master
Browse files Browse the repository at this point in the history
more protection against blank fileSpec.lfn
  • Loading branch information
tmaeno authored Jul 9, 2020
2 parents 2febfde + fdaabcc commit 7d70b94
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pandaharvester/harvesterstager/go_bulk_stager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand Down

0 comments on commit 7d70b94

Please sign in to comment.