default_loader = KeyListFileLoader
def __init__(self, filename):
- super(PackageKeywordsFile,self).__init__(self.default_loader(filename))
+ super(PackageKeywordsFile, self).__init__(
+ self.default_loader(filename, validator=None))
class PackageUseFile(UserConfigKlass):
"""
default_loader = KeyListFileLoader
def __init__(self, filename):
- super(PackageUseFile,self).__init__(self.default_loader(filename))
+ super(PackageUseFile, self).__init__(
+ self.default_loader(filename, validator=None))
class PackageMaskFile(UserConfigKlass):
"""
default_loader = ItemFileLoader
def __init__(self, filename):
- super(PackageMaskFile,self).__init__(self.default_loader(filename))
+ super(PackageMaskFile, self).__init__(
+ self.default_loader(filename, validator=None))
class PortageModulesFile(UserConfigKlass):
"""
default_loader = KeyValuePairFileLoader
def __init__(self, filename):
- super(PortageModulesFile,self).__init__(self.default_loader(filename))
+ super(PortageModulesFile, self).__init__(
+ self.default_loader(filename, validator=None))
full of files in that directory to process.
Ignore files beginning with . or ending in ~.
- Prune CVS directories.
+ Prune CVS directories.
@param filename: name of a file/directory to traverse
@rtype: list
_recursive = False
- def __init__(self, filename):
- DataLoader.__init__(self)
+ def __init__(self, filename, validator):
+ DataLoader.__init__(self, validator)
self.fname = filename
def load(self):
_recursive = False
- def __init__(self, filename):
- DataLoader.__init__(self)
+ def __init__(self, filename, validator):
+ DataLoader.__init__(self, validator)
self.fname = filename
def load(self):
_recursive = False
- def __init__(self, filename):
- DataLoader.__init__(self)
+ def __init__(self, filename, validator):
+ DataLoader.__init__(self, validator)
self.fname = filename
def load(self):