/usr/lib/python2.6/site-packages/oslo_config
Edit: /usr/lib/python2.6/site-packages/oslo_config/generator.pyc (9466B)
Ñò
yDVc @ s& d Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k l Z d d k Z
e i e ƒ Z
e i d d d ƒe i d d d d d
ƒe i d d d ƒg Z d
„ Z d „ Z d e f d „ ƒ YZ d „ Z d „ Z d „ Z d d „ Z e d j o e ƒ n d S( s Sample configuration generator
Tool for generating a sample configuration file. See
../doc/source/generator.rst for details.
iÿÿÿÿN( t cfgs output-filet helps1 Path of the file to write to. Defaults to stdout.s
wrap-widtht defaultiF s! The maximum length of help lines.t namespacesH Option namespace under "oslo.config.opts" in which to query for options.c C s | i t ƒ d S( s
Register the formatter's CLI options with a ConfigOpts instance.
Note, this must be done before the ConfigOpts instance is called to parse
the configuration.
:param conf: a ConfigOpts instance
:raises: DuplicateOptError, ArgsAlreadyParsedError
N( t register_cli_optst _generator_opts( t conf( ( s: /tmp/pip-build-lt8jXN/oslo.config/oslo_config/generator.pyR 2 s c C s t | t i ƒ oA | i d j o
| i } qÖ| i p
d g } qÖ| i } nƒ| i d j o t | i ƒ } nW| i d j o
d } n=t | t i ƒ o
| i } nt | t i ƒ o t | i ƒ i ƒ } nñ t | t i
ƒ p t | t i ƒ o t | i ƒ } n¸ t | t i ƒ o d i
| i ƒ } n t | t i ƒ oV t | i i ƒ d t i d ƒ ƒ} d i
g } | D] } | d | q‡~ ƒ } n&