Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #4427 from dciangot/master
Browse files Browse the repository at this point in the history
cache_area and TransferWorker fix
  • Loading branch information
mmascher committed Aug 12, 2015
2 parents 2687807 + 9702586 commit e3be5be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/couchapp/DBSPublisher/views/cache_area/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@ function(doc) {

if (doc.publication_state != 'published' && doc.publication_state != 'publication_failed' && doc.state == 'done' && doc.lfn && doc.dbs_url && doc.rest_host && doc.rest_uri && doc.publish == 1) {
emit( doc.user, [doc.rest_host, doc.rest_uri]);
}
}
}
}

2 changes: 1 addition & 1 deletion src/python/AsyncStageOut/TransferWorker.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def mark_failed(self, files=[], force_fail=False, submission_error=False, failur
else:
temp_lfn = lfn
else:
if 'temp' not in lfn['value']:
if 'temp' not in lfn['value'][0]:
temp_lfn = lfn['value'][0].replace('store', 'store/temp', 1)
else:
temp_lfn = lfn['value'][0]
Expand Down

0 comments on commit e3be5be

Please sign in to comment.