diff options
author | Georg Brandl <georg@python.org> | 2007-04-12 07:01:19 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-04-12 07:01:19 (GMT) |
commit | e2d827d7ef6cae4932c85e1a00b81ed249fbddeb (patch) | |
tree | 010d21aa4a3d173c4ec36ee5dbd14ebd84b7cec7 | |
parent | 4db5fe970c695c373c59ac7152eb07b07249b0b5 (diff) | |
download | cpython-e2d827d7ef6cae4932c85e1a00b81ed249fbddeb.zip cpython-e2d827d7ef6cae4932c85e1a00b81ed249fbddeb.tar.gz cpython-e2d827d7ef6cae4932c85e1a00b81ed249fbddeb.tar.bz2 |
Patch #1698951: clarify deprecation message in rexec and Bastion
-rw-r--r-- | Lib/Bastion.py | 2 | ||||
-rw-r--r-- | Lib/rexec.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/Bastion.py b/Lib/Bastion.py index 58cce97..93511b0 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). diff --git a/Lib/rexec.py b/Lib/rexec.py index d289d6a..8c9cb9f 100644 --- a/Lib/rexec.py +++ b/Lib/rexec.py @@ -181,7 +181,7 @@ class RExec(ihooks._Verbose): """ - 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" ihooks._Verbose.__init__(self, verbose) # XXX There's a circular reference here: |