diff options
Diffstat (limited to 'setuptools/sandbox.py')
-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 4c5e712..8b889a7 100755 --- a/setuptools/sandbox.py +++ b/setuptools/sandbox.py @@ -206,7 +206,7 @@ class DirectorySandbox(AbstractSandbox): def tmpnam(self): 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 |