summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÉric Araujo <aeric@mtlpy.org>2012-12-08 19:41:39 (GMT)
committerÉric Araujo <aeric@mtlpy.org>2012-12-08 19:41:39 (GMT)
commit26ea4a08a3f3b836581c30ccb933304b6c27ea66 (patch)
treee9c74a658aec150e0c21137f5b579a8620347935
parent5ead5549d07b63ecfe4ff1136bf43fa26f9004cb (diff)
downloadcpython-26ea4a08a3f3b836581c30ccb933304b6c27ea66.zip
cpython-26ea4a08a3f3b836581c30ccb933304b6c27ea66.tar.gz
cpython-26ea4a08a3f3b836581c30ccb933304b6c27ea66.tar.bz2
Remove code unneeded after f833e7ec4de1
-rw-r--r--Lib/distutils/config.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/distutils/config.py b/Lib/distutils/config.py
index 9d8b30e..1d32714 100644
--- a/Lib/distutils/config.py
+++ b/Lib/distutils/config.py
@@ -47,11 +47,6 @@ class PyPIRCCommand(Command):
f.write(DEFAULT_PYPIRC % (username, password))
finally:
f.close()
- try:
- os.chmod(rc, 0600)
- except OSError:
- # should do something better here
- pass
def _read_pypirc(self):
"""Reads the .pypirc file."""