Commit 2f7effd2 authored by wilkie's avatar wilkie

Adds plugins path and fixes small manifest issue.

Although it would be good to have the manifest throw out cached tasks
that are invalid!
parent 507d0195
......@@ -17,3 +17,5 @@ htmlcov
keys
.go-ipfs
go-ipfs*
plugins/*
!plugins/README.md
# Occam Plugins
Just add directories here of Occam plugins and components you wish to add to your Occam instance.
These will automatically be placed in your PYTHONPATH, effectively, and added to the global module path.
What that means is that these will be visible to the Occam system and parsed and used to supply new commands and features and component plugins.
......@@ -348,6 +348,8 @@ class ManifestManager:
if cachedTasks:
for taskObject in cachedTasks:
if taskObject.get('id') is None:
continue
taskObject = taskObject.get('value')
if self.backends.isAvailable(taskObject.get('backend')):
taskObject = self.objects.retrieve(taskObject.get('id'), taskObject.get('revision'), person=person)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment