Complete rewrite of dataset class, with (all) the necessary updates
This commit is contained in:
@@ -58,7 +58,7 @@ class CreateProjectDruid(gtk.Window):
|
||||
|
||||
for dir in wf_path:
|
||||
for fn in os.listdir(dir):
|
||||
if fn.endswith('.py'):
|
||||
if fn.endswith('.py') and ('#' not in fn) :
|
||||
wf_files.append(fn[:-3])
|
||||
|
||||
# Try to load each file and look for Workflow derived classes
|
||||
@@ -68,6 +68,7 @@ class CreateProjectDruid(gtk.Window):
|
||||
for wf in wf_info:
|
||||
store.insert_after(None, (getattr(wf, 'name'), wf))
|
||||
except Exception, e:
|
||||
wf_info = self.workflow_classes(fn)
|
||||
logger.log('warning', 'Cannot load workflow: %s' % fn)
|
||||
|
||||
return store
|
||||
|
Reference in New Issue
Block a user