summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-01-09 12:36:03 -0500
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-01-09 12:46:11 -0500
commitad19b8317cdaedbe70ed4305b340743291f74c69 (patch)
treef2ae999b063329985acd45378920c02c63041fcb
parent1fd002ce1f66dc40b46d0c7de91626e817a12115 (diff)
downloadbuildstream-ad19b8317cdaedbe70ed4305b340743291f74c69.tar.gz
buildelement.py: No need to report a sorted unique key
The core will sort it for us.
-rw-r--r--buildstream/buildelement.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/buildelement.py b/buildstream/buildelement.py
index 486fe0bce..4f3af5ea6 100644
--- a/buildstream/buildelement.py
+++ b/buildstream/buildelement.py
@@ -54,7 +54,7 @@ class BuildElement(Element):
for command_name, command_list in self.commands.items():
dictionary[command_name] = command_list
- return sorted(dictionary)
+ return dictionary
def _get_commands(self, node, name):
list_node = self.node_get_member(node, list, name, default_value=[])