summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()