From 26ea4a08a3f3b836581c30ccb933304b6c27ea66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Araujo?= Date: Sat, 8 Dec 2012 14:41:39 -0500 Subject: [PATCH] Remove code unneeded after f833e7ec4de1 --- Lib/distutils/config.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Lib/distutils/config.py b/Lib/distutils/config.py index 9d8b30ea30c6ff..1d327143bea711 100644 --- a/Lib/distutils/config.py +++ b/Lib/distutils/config.py @@ -47,11 +47,6 @@ def _store_pypirc(self, username, password): 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."""