diff options
author | James Ennis <james.ennis@codethink.com> | 2018-02-27 11:47:02 +0000 |
---|---|---|
committer | James Ennis <james.ennis@codethink.com> | 2018-02-28 16:46:05 +0000 |
commit | 7c290b4369a05418141a2a0dc12e2fb8b4dbdd45 (patch) | |
tree | d989d47a28a1ae0b528b2ff14a0a4ca67902993f | |
parent | 5ebb78240e674afb4ae86ecf41f9ca03192a6dba (diff) | |
download | buildstream-7c290b4369a05418141a2a0dc12e2fb8b4dbdd45.tar.gz |
compose.py: key dictionary is now correctly initialised
-rw-r--r-- | buildstream/plugins/elements/compose.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/buildstream/plugins/elements/compose.py b/buildstream/plugins/elements/compose.py index 29e289a30..5d50b8433 100644 --- a/buildstream/plugins/elements/compose.py +++ b/buildstream/plugins/elements/compose.py @@ -73,10 +73,9 @@ class ComposeElement(Element): raise ElementError("{}: Compose elements may not have sources".format(self)) def get_unique_key(self): - key = {} - key['integrate'] = self.integration, - key['include'] = sorted(self.include), - key['orphans'] = self.include_orphans + key = {'integrate': self.integration, + 'include': sorted(self.include), + 'orphans': self.include_orphans} if self.exclude: key['exclude'] = sorted(self.exclude) |