From 4fb1846113be568aa22b263aec628fe3d4267e6b Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sun, 11 Oct 2015 22:39:39 -0500 Subject: fix broken sort --- pyramid/scripts/pshell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3