diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-12-13 11:29:01 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-12-13 11:29:01 -0500 |
commit | 1d74aaab3372b6727158802c610043ca036ce5d3 (patch) | |
tree | 5f36c6bbeac0a58cd0de3c7778eae20724299fa0 /setuptools/sandbox.py | |
parent | 3915be7722713c51aab291ed9720c7b83585d2b5 (diff) | |
download | external_python_setuptools-1d74aaab3372b6727158802c610043ca036ce5d3.tar.gz external_python_setuptools-1d74aaab3372b6727158802c610043ca036ce5d3.tar.bz2 external_python_setuptools-1d74aaab3372b6727158802c610043ca036ce5d3.zip |
Always import for SandboxViolation so it's pickleable. Ref #440.
Diffstat (limited to 'setuptools/sandbox.py')
-rwxr-xr-x | setuptools/sandbox.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/setuptools/sandbox.py b/setuptools/sandbox.py index b8b1bac1..85de85ff 100755 --- a/setuptools/sandbox.py +++ b/setuptools/sandbox.py @@ -384,6 +384,7 @@ class DirectorySandbox(AbstractSandbox): AbstractSandbox.__init__(self) def _violation(self, operation, *args, **kw): + from setuptools.sandbox import SandboxViolation raise SandboxViolation(operation, args, kw) if _file: |