Archived
7
0

Complete rewrite of dataset class, with (all) the necessary updates

This commit is contained in:
2006-04-24 09:53:07 +00:00
parent 53d0228074
commit a2e4392a72
9 changed files with 426 additions and 234 deletions

@@ -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