diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2015-04-26 14:31:18 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-04-26 14:31:18 -0400 |
| commit | b029a3b6e359babe5adc57c4cf76edb89bbd31ae (patch) | |
| tree | fba765a787cbe47f5ee5b70ebfa90bbf46718a1b /setuptools | |
| parent | 42c62a7a344e2139f285c571930d179866167bd5 (diff) | |
| parent | 2039b2aeba48685275bd2b341bf69d3f3f63786b (diff) | |
| download | python-setuptools-git-b029a3b6e359babe5adc57c4cf76edb89bbd31ae.tar.gz | |
Merged in agronholm/setuptools (pull request #128)
Check for Jython using sys.platform, not os.name
Diffstat (limited to 'setuptools')
| -rwxr-xr-x | setuptools/sandbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/sandbox.py b/setuptools/sandbox.py index 31e3eb2d..213cebff 100755 --- a/setuptools/sandbox.py +++ b/setuptools/sandbox.py @@ -10,7 +10,7 @@ import pickle import pkg_resources -if os.name == "java": +if sys.platform.startswith('java'): import org.python.modules.posix.PosixModule as _os else: _os = sys.modules[os.name] |
