[Python-checkins] cpython: Remove unnecessary version check
eric.araujo
python-checkins at python.org
Mon Nov 7 18:11:43 CET 2011
http://hg.python.org/cpython/rev/4891e319899f
changeset: 73428:4891e319899f
user: Éric Araujo <merwok at netwok.org>
date: Mon Nov 07 09:18:30 2011 +0100
summary:
Remove unnecessary version check
files:
Lib/sysconfig.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
--- a/Lib/sysconfig.py
+++ b/Lib/sysconfig.py
@@ -488,8 +488,7 @@
# Setting 'userbase' is done below the call to the
# init function to enable using 'get_config_var' in
# the init-function.
- if sys.version >= '2.6':
- _CONFIG_VARS['userbase'] = _getuserbase()
+ _CONFIG_VARS['userbase'] = _getuserbase()
if 'srcdir' not in _CONFIG_VARS:
_CONFIG_VARS['srcdir'] = _PROJECT_BASE
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list