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 os.chflags(path, flags) > + > + @staticmethod > + def lchflags(path, flags): > + return os.lchflags(path, flags)
Can eliminate the indirect function call like this: chflags = os.chflags lchflags = os.lchflags -- Thanks, Zac
signature.asc
Description: OpenPGP digital signature