Merge "Allow access by index"

This commit is contained in:
Jenkins
2013-10-07 20:02:38 +00:00
committed by Gerrit Code Review

View File

@@ -60,6 +60,9 @@ class Flow(flow.Flow):
for child in self._children:
yield child
def __getitem__(self, index):
return self._children[index]
@property
def provides(self):
provides = set()