Package portage :: Package env :: Module config :: Class PackageMaskFile
[hide private]

Class PackageMaskFile

source code

               object --+                
   cache.mappings.Mapping --+            
cache.mappings.MutableMapping --+        
          cache.mappings.UserDict --+    
                    ConfigLoaderKlass --+

A class that implements a file-based package.mask

Entires in package.mask are of the form: atom1 atom2 or optionally -atom3 to revert a previous mask; this only works when masking files are stacked

Nested Classes [hide private]
Class to load data from a file full of items one per line
Instance Methods [hide private]
__init__(self, filename)
x.__init__(...) initializes x; see help(type(x)) for signature
source code

Inherited from ConfigLoaderKlass: load

Inherited from cache.mappings.UserDict: __contains__, __delitem__, __getitem__, __iter__, __len__, __repr__, __setitem__, clear, keys

Inherited from cache.mappings.MutableMapping: pop, popitem, setdefault, update

Inherited from cache.mappings.Mapping: get, items, iteritems, iterkeys, itervalues, values

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from cache.mappings.UserDict: data

Inherited from object: __class__

Method Details [hide private]

__init__(self, filename)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

  • loader - A class that has a load() that returns two dicts the first being a data dict, the second being a dict of errors.
Overrides: object.__init__
(inherited documentation)