Switch to side-by-side view
--- a/Allura/allura/tasks/index_tasks.py +++ b/Allura/allura/tasks/index_tasks.py @@ -19,6 +19,8 @@ for ref_id in ref_ids: try: ref = M.ArtifactReference.query.get(_id=ref_id) + if ref is None: + continue artifact = ref.artifact s = solarize(artifact) if s is None: