Commit 6cf5abfd authored by Georg Brandl's avatar Georg Brandl

Backport r54787 - better error messages in rexec and bastion

parent 1dfa8ac6
......@@ -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).
......
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment