make object.source a list

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-10-11 10:30:30 +02:00
parent 904396f6a5
commit 753936b7c3

View file

@ -96,7 +96,7 @@ class Object(object):
changed = fsproperty.FileBooleanProperty(lambda obj: os.path.join(obj.absolute_path, "changed"))
prepared = fsproperty.FileBooleanProperty(lambda obj: os.path.join(obj.absolute_path, "prepared"))
ran = fsproperty.FileBooleanProperty(lambda obj: os.path.join(obj.absolute_path, "ran"))
source = fsproperty.FileStringProperty(lambda obj: os.path.join(obj.absolute_path, "source"))
source = fsproperty.FileListProperty(lambda obj: os.path.join(obj.absolute_path, "source"))
@property
def exists(self):