diff options
Diffstat (limited to 'morphlib/buildcommand.py')
-rw-r--r-- | morphlib/buildcommand.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/buildcommand.py b/morphlib/buildcommand.py index 8b728b05..219fd907 100644 --- a/morphlib/buildcommand.py +++ b/morphlib/buildcommand.py @@ -307,7 +307,7 @@ class BuildCommand(object): that doesn't work for some reason, by building the source locally. ''' - artifacts = source.artifacts.values() + artifacts = list(source.artifacts.values()) if self.rac is not None: try: self.cache_artifacts_locally(artifacts) @@ -501,7 +501,7 @@ class BuildCommand(object): ''' def dependent_stratum_morphs(source): dependents = set(itertools.chain.from_iterable( - a.dependents for a in source.artifacts.itervalues())) + a.dependents for a in source.artifacts.values())) dependent_strata = set(s for s in dependents if s.morphology['kind'] == 'stratum') return set(s.morphology for s in dependent_strata) |