diff options
| -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 e026ff13..a9f0d284 100755 --- a/setuptools/sandbox.py +++ b/setuptools/sandbox.py @@ -241,7 +241,7 @@ class DirectorySandbox(AbstractSandbox): self._violation("tmpnam") def _ok(self,path): - if hasattr(_os,'devnull') and path==_os.devnull: return True + if hasattr(os,'devnull') and path==os.devnull: return True active = self._active try: self._active = False |
