Re: [Python-Dev] cpython: Addressed some buildbot errors and comments on the checkin by Antoine on

2012年5月26日 12:48:11 -0700

On 2012年5月26日 21:39:36 +0200
vinay.sajip <[email protected]> wrote:
> return False
> _sys_home = getattr(sys, '_home', None)
> -if _sys_home and os.name == 'nt' and _sys_home.lower().endswith('pcbuild'):
> +if _sys_home and os.name == 'nt' and \
> + _sys_home.lower().endswith(('pcbuild', 'pcbuild\\amd64')):
> _sys_home = os.path.dirname(_sys_home)
Ok, but is one os.path.dirname() call enough in the AMD64 case? It
looks like you'd want to walk up two directories rather than one (but I
might misunderstand).
Regards
Antoine.
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to