Package pyanaconda :: Module simpleconfig :: Class IfcfgFile
[hide private]
[frames] | no frames]

Class IfcfgFile

source code

SimpleConfigFile --+
                   |
                  IfcfgFile

Instance Methods [hide private]
 
__init__(self, dir, iface) source code
 
path(self) source code
 
clear(self) source code
 
read(self)
Reads values from ifcfg file.
source code
 
write(self, dir=None)
Writes values into ifcfg file.
source code

Inherited from SimpleConfigFile: __str__, get, set, unset

Method Details [hide private]

__init__(self, dir, iface)
(Constructor)

source code 
Overrides: SimpleConfigFile.__init__

path(self)

source code 
Decorators:
  • @property

read(self)

source code 

Reads values from ifcfg file.

returns: number of values read

Overrides: SimpleConfigFile.read

write(self, dir=None)

source code 

Writes values into ifcfg file.

Overrides: SimpleConfigFile.write