aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/sandbox.py
diff options
context:
space:
mode:
authorstepshal <nessento@openmailbox.org>2016-07-21 09:37:34 +0700
committerstepshal <nessento@openmailbox.org>2016-07-21 09:37:34 +0700
commit39bf3155d47c0024240be414a611dcb6d549f53c (patch)
tree373f653d4aec874e2aa3b2a9bc7c77f8526ceb89 /setuptools/sandbox.py
parent966e2fa4118277ed4551aa2215ac6ebac34b37e5 (diff)
downloadexternal_python_setuptools-39bf3155d47c0024240be414a611dcb6d549f53c.tar.gz
external_python_setuptools-39bf3155d47c0024240be414a611dcb6d549f53c.tar.bz2
external_python_setuptools-39bf3155d47c0024240be414a611dcb6d549f53c.zip
Add missing blank lines after class or function definition.
Diffstat (limited to 'setuptools/sandbox.py')
-rwxr-xr-xsetuptools/sandbox.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/setuptools/sandbox.py b/setuptools/sandbox.py
index c89593b1..df630d3e 100755
--- a/setuptools/sandbox.py
+++ b/setuptools/sandbox.py
@@ -460,6 +460,7 @@ class DirectorySandbox(AbstractSandbox):
self._violation("os.open", file, flags, mode, *args, **kw)
return _os.open(file, flags, mode, *args, **kw)
+
WRITE_FLAGS = functools.reduce(
operator.or_, [getattr(_os, a, 0) for a in
"O_WRONLY O_RDWR O_APPEND O_CREAT O_TRUNC O_TEMPORARY".split()]