diff options
Diffstat (limited to 'setuptools/py31compat.py')
| -rw-r--r-- | setuptools/py31compat.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/py31compat.py b/setuptools/py31compat.py index 04a314ef..1e959e28 100644 --- a/setuptools/py31compat.py +++ b/setuptools/py31compat.py @@ -12,7 +12,7 @@ except ImportError: def get_path(name): if name not in ('platlib', 'purelib'): raise ValueError("Name must be purelib or platlib") - return get_python_lib(name=='platlib') + return get_python_lib(name == 'platlib') try: # Python >=3.2 @@ -29,7 +29,7 @@ except ImportError: """ def __init__(self): - self.name = None # Handle mkdtemp raising an exception + self.name = None # Handle mkdtemp raising an exception self.name = tempfile.mkdtemp() def __enter__(self): @@ -38,7 +38,7 @@ except ImportError: def __exit__(self, exctype, excvalue, exctrace): try: shutil.rmtree(self.name, True) - except OSError: #removal errors are not the only possible + except OSError: # removal errors are not the only possible pass self.name = None |
