From: Éric Araujo Date: Sat, 8 Dec 2012 19:41:39 +0000 (-0500) Subject: Remove code unneeded after f833e7ec4de1 X-Git-Tag: v2.7.4rc1~317^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=26ea4a08a3f3b836581c30ccb933304b6c27ea66;p=thirdparty%2FPython%2Fcpython.git Remove code unneeded after f833e7ec4de1 --- diff --git a/Lib/distutils/config.py b/Lib/distutils/config.py index 9d8b30ea30c6..1d327143bea7 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."""