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

Class PackageUseFile

source code

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

Inherits from PackageUse; implements a file-based backend. Doesn't handle recursion yet.

Nested Classes [hide private]
Class to load data from a file full of key [list] tuples
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)