The synaps.flags Module

Command-line flag library.

Emulates gflags by wrapping cfg.ConfigOpts.

The idea is to move fully to cfg eventually, and this wrapper is a stepping stone.

DECLARE(name, module_string, flag_values=<synaps.flags.SynapsConfigOpts object at 0x2b2c710>)
class SynapsConfigOpts(*args, **kwargs)

Bases: synaps.openstack.common.cfg.CommonConfigOpts

exception UnrecognizedFlag

Bases: exceptions.Exception

Previous topic

The synaps.exception Module

Next topic

The synaps.local Module

This Page