ajenti / ajenti

Unexpected keyword argument in function call PYL-E1123
Bug risk
Critical
6 months ago4 years old
Unexpected keyword argument 'flags' in unbound method call
 34    """
 35
 36    def __init__(self, modules=[], loadpath=None):
 37        augeas.Augeas.__init__(self, loadpath=loadpath, flags=augeas.Augeas.NO_MODL_AUTOLOAD | augeas.Augeas.NO_LOAD) 38        for module in modules:
 39            path = f'/augeas/load/{module["name"]}'
 40            self.set(f'{path}/lens', module['lens'])