summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2015-10-11 22:39:39 -0500
committerMichael Merickel <michael@merickel.org>2015-10-11 22:39:39 -0500
commit4fb1846113be568aa22b263aec628fe3d4267e6b (patch)
tree13311abc1874c61a02dad1ff997c1ddc7d79fec9
parentd3730af63891f1e35f5cb17c139fd85776a8e2ad (diff)
downloadpyramid-4fb1846113be568aa22b263aec628fe3d4267e6b.tar.gz
pyramid-4fb1846113be568aa22b263aec628fe3d4267e6b.tar.bz2
pyramid-4fb1846113be568aa22b263aec628fe3d4267e6b.zip
fix broken sort
-rw-r--r--pyramid/scripts/pshell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/scripts/pshell.py b/pyramid/scripts/pshell.py
index 78ff66853..5f0df908c 100644
--- a/pyramid/scripts/pshell.py
+++ b/pyramid/scripts/pshell.py
@@ -178,7 +178,7 @@ class PShellCommand(object):
user_shell = self.options.python_shell.lower()
if not user_shell:
- sorted_shells = sorted(shells.items(), key=lambda k, v: k)
+ sorted_shells = sorted(shells.items(), key=lambda x: x[0])
for name, factory in sorted_shells:
shell = factory()