summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAntti Haapala <antti.haapala@anttipatterns.com>2022-06-07 23:53:12 +0300
committerGitHub <noreply@github.com>2022-06-07 23:53:12 +0300
commita3b3f701a13c62d98e46d37cdd62d566bc5459f8 (patch)
tree009c1ba5f340060b0d03850de2023025ef575e26 /src
parent1e439035e41da3767acbcae79689fb05dfdeb317 (diff)
downloadpyramid-a3b3f701a13c62d98e46d37cdd62d566bc5459f8.tar.gz
pyramid-a3b3f701a13c62d98e46d37cdd62d566bc5459f8.tar.bz2
pyramid-a3b3f701a13c62d98e46d37cdd62d566bc5459f8.zip
Change != to is not in pshell initialization
Diffstat (limited to 'src')
-rw-r--r--src/pyramid/scripts/pshell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyramid/scripts/pshell.py b/src/pyramid/scripts/pshell.py
index 1d345ed31..36c43cbc0 100644
--- a/src/pyramid/scripts/pshell.py
+++ b/src/pyramid/scripts/pshell.py
@@ -188,7 +188,7 @@ class PShellCommand:
with setup_manager(env):
# remove any objects from default help that were overidden
for k, v in env.items():
- if k not in orig_env or v != orig_env[k]:
+ if k not in orig_env or v is not orig_env[k]:
if getattr(v, '__doc__', False):
env_help[k] = v.__doc__.replace("\n", " ")
else: