Previous topic

The cinder.openstack.common.importutils Module

Next topic

The cinder.openstack.common.jsonutils Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Cinder 2011.2 docs or all OpenStack docs too.

The cinder.openstack.common.iniparser Module

class BaseParser

Bases: object

assignment(key, value)

Called when a full assignment is parsed

comment(comment)

Called when a comment is parsed

error_empty_key(line)
error_invalid_assignment(line)
error_no_section_end_bracket(line)
error_no_section_name(line)
error_unexpected_continuation(line)
lineno = 0
new_section(section)

Called when a new section is started

parse(lineiter)
parse_exc

alias of ParseError

exception ParseError(message, lineno, line)

Bases: exceptions.Exception