Attributes file representation and trivial parser.
|
|
|
|
|
|
|
write(self)
Write the file to disk, if dirty. |
source code
|
|
|
parse(self,
lines)
Parse attributes file lines into a map. |
source code
|
|
|
get(self,
field)
Returns an attribute field content extracted from this attributes
file. |
source code
|
|
|
get_def(self,
field,
default=None)
Returns an attribute field content extracted from this attributes
file. |
source code
|
|
|
set(self,
field,
value)
Sets a field of the description file. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
__repr__(self)
Returns contents to a string for debugging purposes. |
source code
|
|