aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.py b/configure.py
index c8c19b4a5..eb011dac2 100755
--- a/configure.py
+++ b/configure.py
@@ -601,8 +601,8 @@ class ArchInfo(object):
to shortest
"""
def all_submodels(self):
- return sorted(list(zip(self.submodels, self.submodels)) +
- list(self.submodel_aliases.items()),
+ return sorted([(k,k) for k in self.submodels] +
+ [k for k in self.submodel_aliases.items()],
key = lambda k: len(k[0]), reverse = True)
"""