Remove code unneeded after f833e7ec4de1
authorÉric Araujo <aeric@mtlpy.org>
Sat, 8 Dec 2012 19:41:39 +0000 (14:41 -0500)
committerÉric Araujo <aeric@mtlpy.org>
Sat, 8 Dec 2012 19:41:39 +0000 (14:41 -0500)
Lib/distutils/config.py

index 9d8b30ea30c6ffebda558857569552176fc6daa9..1d327143bea711c3e6e765d3a6dab8f80da89da7 100644 (file)
@@ -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."""