Re: [gentoo-portage-dev] [PATCH] FreeBSD: use os.*chflags() instead of calling external tool

2018-02-22 Thread Zac Medico
On 02/22/2018 07:18 AM, Michał Górny wrote: > - @classmethod > - def lchflags(cls, path, flags): > - return cls.chflags(path, flags, opts='-h') > + @staticmethod > + def chflags(path, flags): > + return

Re: [gentoo-portage-dev] [PATCH] FreeBSD: use os.*chflags() instead of calling external tool

2018-02-22 Thread Zac Medico
On 02/22/2018 07:18 AM, Michał Górny wrote: > Use os.chflags() and os.lchflags() built-in functions instead of calling > external 'chflags' tool on FreeBSD. This fixes major performance > problems Portage has on FreeBSD. > > Bug: https://bugs.gentoo.org/648432 > --- > pym/portage/__init__.py |