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

Reply via email to