omero.install.config_parser module

Parser for the omero.properties file to generate RST mark up.

class install.config_parser.Header(name, reference=None, description='')[source]

Bases: object

get_reference()[source]
class install.config_parser.Property(key=None, val=None, txt='')[source]

Bases: object

append(line)[source]

Append line to property description

cont(line)[source]
detect(line)[source]
class install.config_parser.PropertyParser[source]

Bases: object

append(line)[source]
black_list(line)[source]
cleanup()[source]
cont(line)[source]
data()[source]
detect(line)[source]
headers()[source]
ignore()[source]
init()[source]
is_excluded(line)[source]
parse_file(argv=None)[source]

Parse the properties from the input configuration file

parse_lines(lines)[source]

Parse the properties from the given configuration file lines

parse_module(module='omeroweb.settings')[source]

Parse the properties from the setting module

print_defaults()[source]

Print all keys and their default values

print_headers()[source]

Print headers and number of keys

print_keys()[source]

Print all keys

print_rst()[source]

Print configuration in reStructuredText format

install.config_parser.dbg(msg)[source]
install.config_parser.fail(msg='', debug=0)[source]
install.config_parser.underline(size)[source]

Create underline for reStructuredText headings