[Python-checkins] cpython (2.7): Remove code unneeded after f833e7ec4de1
eric.araujo
python-checkins at python.org
Sun Dec 9 04:46:06 CET 2012
http://hg.python.org/cpython/rev/d9fe5b5a8110
changeset: 80764:d9fe5b5a8110
branch: 2.7
user: Éric Araujo <aeric at mtlpy.org>
date: Sat Dec 08 14:41:39 2012 -0500
summary:
Remove code unneeded after f833e7ec4de1
files:
Lib/distutils/config.py | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/Lib/distutils/config.py b/Lib/distutils/config.py
--- a/Lib/distutils/config.py
+++ b/Lib/distutils/config.py
@@ -47,11 +47,6 @@
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."""
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list