Author: Philip Jenvey <[email protected]>
Branch:
Changeset: r63782:ba2b2f2160e8
Date: 2013-04-30 18:34 -0700
http://bitbucket.org/pypy/pypy/changeset/ba2b2f2160e8/
Log: refactor
diff --git a/lib-python/2.7/distutils/command/install.py
b/lib-python/2.7/distutils/command/install.py
--- a/lib-python/2.7/distutils/command/install.py
+++ b/lib-python/2.7/distutils/command/install.py
@@ -474,8 +474,8 @@
def select_scheme (self, name):
# it's the caller's problem if they supply a bad name!
- if hasattr(sys, 'pypy_version_info') and not (
- name.endswith('_user') or name.endswith('_home')):
+ if (hasattr(sys, 'pypy_version_info') and
+ not name.endswith(('_user', '_home'))):
name = 'pypy'
scheme = INSTALL_SCHEMES[name]
for key in SCHEME_KEYS:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit