From: Zac Medico <zmedico@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] meaning of EROOT
Date: Mon, 04 Feb 2013 08:07:06 -0800 [thread overview]
Message-ID: <510FDCAA.6010900@gentoo.org> (raw)
In-Reply-To: <510F9505.30304@gentoo.org>
On 02/04/2013 03:01 AM, Michael Weber wrote:
> On 02/03/2013 12:07 PM, heroxbd wrote:
>> self.eroot = self.target_root.rstrip(os.sep) + self.eprefix + os.sep
> wouldn't be this more robust
>
>>>> import os
>>>> os.path.normpath('/some/' + os.path.sep + '/stuff/') + os.path.sep
> '/some/stuff/'
In this context, the relevant paths have already been normalized earlier.
--
Thanks,
Zac
prev parent reply other threads:[~2013-02-04 16:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-03 11:07 [gentoo-dev] meaning of EROOT heroxbd
2013-02-03 20:56 ` Zac Medico
2013-02-04 11:01 ` Michael Weber
2013-02-04 16:07 ` Zac Medico [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=510FDCAA.6010900@gentoo.org \
--to=zmedico@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox