diff options
author | Georg Brandl <georg@python.org> | 2007-04-21 07:23:36 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-04-21 07:23:36 +0000 |
commit | 6cf5abfd66ea1b01e5bed6f43bddce684ff5df87 (patch) | |
tree | e84fcc735e3719229bde7f672742d2e3746c722d /Lib/Bastion.py | |
parent | 1dfa8ac6f12a9ebffd7839f0b9b97b170b794b89 (diff) | |
download | cpython-git-6cf5abfd66ea1b01e5bed6f43bddce684ff5df87.tar.gz |
Backport r54787 - better error messages in rexec and bastion
Diffstat (limited to 'Lib/Bastion.py')
-rw-r--r-- | Lib/Bastion.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/Bastion.py b/Lib/Bastion.py index 58cce978ce..93511b0a94 100644 --- a/Lib/Bastion.py +++ b/Lib/Bastion.py @@ -97,7 +97,7 @@ def Bastion(object, filter = lambda name: name[:1] != '_', """ - raise RuntimeError, "This code is not secure in Python 2.2 and 2.3" + raise RuntimeError, "This code is not secure in Python 2.2 and later" # Note: we define *two* ad-hoc functions here, get1 and get2. # Both are intended to be called in the same way: get(name). |