• File: configargparse.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/usr/lib/python2.7/site-packages/configargparse.pyc
  • Date Modified: 05/07/2020 5:16 AM
  • File size: 32.46 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit


Wc@sddlZddlZddlZddlZddlZddlZejddfkrpddlmZnddlmZejddfkrddl	m
Z
nddlm
Z
eej
ejejejejgZiZedZed	Zd
ejejejfdYZdefd
YZdefdYZdefdYZdefdYZ dZ!dZ"dZ#dZ$dej%fdYZ%dZ&dZ'ej(j&ej(_)e&ej(_&ej*Z*ejZejZejZej+Z+ej,Z,ej-Z-ej.Z.ej/Z/ej0Z0ej1Z1ej2Z2ej3Z3ej4Z4eZ5eZ6eZ7eZ8eZ9eZ:e%Z;e%Z<ej(j&ej(_=ej(j&ej(_>e%j?e%_@e%jAe%_BeZCeZDeZEdS(iNii(tStringIOii(tOrderedDictcKsu|dkrd}n|tkr>td|t|fn|jdtj|jddt|t|<dS(sCreates a global ArgumentParser instance with the given name,
    passing any args other than "name" to the ArgumentParser constructor.
    This instance can then be retrieved using get_argument_parser(..)
    tdefaultsbkwargs besides 'name' can only be passed in the first time. '%s' ArgumentParser already exists: %stformatter_classtconflict_handlertresolveN(tNonet_parserst
ValueErrort
setdefaulttargparsetArgumentDefaultsHelpFormattertArgumentParser(tnametkwargs((s2/usr/lib/python2.7/site-packages/configargparse.pytinit_argument_parsers	cKsK|dkrd}nt|dks3|tkrCt||nt|S(sReturns the global ArgumentParser instance with the given name. The 1st
    time this function is called, a new ArgumentParser instance will be created
    for the given name, and any args other than "name" will be passed on to the
    ArgumentParser constructor.
    RiN(RtlenRR(R
R((s2/usr/lib/python2.7/site-packages/configargparse.pytget_argument_parser.s
	t ArgumentDefaultsRawHelpFormattercBseZdZRS(sCHelpFormatter that adds default values AND doesn't do line-wrapping(t__name__t
__module__t__doc__(((s2/usr/lib/python2.7/site-packages/configargparse.pyR=stConfigFileParsercBs)eZdZdZdZdZRS(sRThis abstract class can be extended to add support for new config file
    formatscCstddS(s3Returns a string describing the config file syntax.s*get_syntax_description(..) not implementedN(tNotImplementedError(tself((s2/usr/lib/python2.7/site-packages/configargparse.pytget_syntax_descriptionIscCstddS(sNParses the keys and values from a config file.

        NOTE: For keys that were specified to configargparse as
        action="store_true" or "store_false", the config file value must be
        one of: "yes", "no", "true", "false". Otherwise an error will be raised.

        Args:
            stream: A config file input stream (such as an open file object).

        Returns:
            OrderedDict of items where the keys have type string and the
            values have type either string or list (eg. to support config file
            formats like YAML which allow lists).
        sparse(..) not implementedN(R(Rtstream((s2/usr/lib/python2.7/site-packages/configargparse.pytparseMscCstddS(sDoes the inverse of config parsing by taking parsed values and
        converting them back to a string representing config file contents.

        Args:
            items: an OrderedDict of items to be converted to the config file
            format. Keys should be strings, and values should be either strings
            or lists.

        Returns:
            Contents of config file as a string
        sserialize(..) not implementedN(R(Rtitems((s2/usr/lib/python2.7/site-packages/configargparse.pyt	serialize^s(RRRRRR(((s2/usr/lib/python2.7/site-packages/configargparse.pyREs		tConfigFileParserExceptioncBseZdZRS(s'Raised when config file parsing failed.(RRR(((s2/usr/lib/python2.7/site-packages/configargparse.pyRmstDefaultConfigFileParsercBs)eZdZdZdZdZRS(sBased on a simplified subset of INI and YAML formats. Here is the
    supported syntax:


        # this is a comment
        ; this is also a comment (.ini style)
        ---            # lines that start with --- are ignored (yaml style)
        -------------------
        [section]      # .ini-style section names are treated as comments

        # how to specify a key-value pair (all of these are equivalent):
        name value     # key is case sensitive: "Name" isn't "name"
        name = value   # (.ini style)  (white space is ignored, so name = value same as name=value)
        name: value    # (yaml style)
        --name value   # (argparse style)

        # how to set a flag arg (eg. arg which has action="store_true")
        --name
        name
        name = True    # "True" and "true" are the same

        # how to specify a list arg (eg. arg which has action="append")
        fruit = [apple, orange, lemon]
        indexes = [1, 12, 35 , 40]

    cCs
d}|S(NsrConfig file syntax allows: key=value, flag=true, stuff=[a,b,c] (for details, see syntax at https://goo.gl/R74nmi).((Rtmsg((s2/usr/lib/python2.7/site-packages/configargparse.pyRsc
Cst}xt|D]z\}}|j}|s|ddks|jdrZqnd}d}|d|d	}|d
}tjd||d|}	|	r|	jd
}d||<qntjd|||d|}
|
rk|
jd
}|
jd}|jdr[|jdr[g|dd!jdD]}|j^q@}n|||<qnt	d|t
|dd|fqW|S(s,Parses the keys + values from a config file.it#t;t[s---s\s*s(?P<key>[^:=;#\s]+?)s[:=\s]s(?P<value>.+?)s(?P<comment>\s[;#].*)?t^t$tkeyttruetvaluet]iit,sUnexpected line %s in %s: %sR
R(R!R"R#(Rt	enumeratetstript
startswithtretmatchtgrouptendswithtsplitRtgetattr(RRRtitlinetwhite_spaceR&R(tcommenttkey_only_matchtkey_value_matchtelem((s2/usr/lib/python2.7/site-packages/configargparse.pyRs2	&

"2
	 cCs|t}xf|jD]X\}}t|tkrWddjtt|d}n|jd||fqW|jS(sDoes the inverse of config parsing by taking parsed values and
        converting them back to a string representing config file contents.
        R#s, R)s%s = %s
(	RRttypetlisttjointmaptstrtwritetgetvalue(RRtrR&R(((s2/usr/lib/python2.7/site-packages/configargparse.pyRs	#(RRRRRR(((s2/usr/lib/python2.7/site-packages/configargparse.pyRqs		#tYAMLConfigFileParsercBs5eZdZdZdZdZedZRS(sdParses YAML config files. Depends on the PyYAML module.
    https://pypi.python.org/pypi/PyYAML
    cCs
d}|S(NsThe config file uses YAML syntax and must represent a YAML 'mapping' (for details, see http://learn.getgrav.org/advanced/yaml).((RR ((s2/usr/lib/python2.7/site-packages/configargparse.pyRscCs4yddl}Wntk
r/tdnX|S(smlazy-import PyYAML so that configargparse doesn't have to dependend
        on it unless this parser is used.iNsJCould not import yaml. It can be installed by running 'pip install PyYAML'(tyamltImportErrorR(RRD((s2/usr/lib/python2.7/site-packages/configargparse.pyt
_load_yamls

cCs|j}y|j|}Wn#tk
rD}td|nXt|tkrtdt|ddt|jfnt}xI|j	D];\}}t|t
kr|||<qt|||<qW|S(s.Parses the keys and values from a config file.sCouldn't parse config file: %ssThe config file doesn't appear to contain 'key: value' pairs (aka. a YAML mapping). yaml.load('%s') returned type '%s' instead of 'dict'.R
R(RFt	safe_loadt	ExceptionRR;tdictR3RRRR<R?(RRRDt
parsed_objtetresultR&R(((s2/usr/lib/python2.7/site-packages/configargparse.pyRs(	
cCs+|j}t|}|j|d|S(sDoes the inverse of config parsing by taking parsed values and
        converting them back to a string representing config file contents.

        Args:
            default_flow_style: defines serialization format (see PyYAML docs)
        tdefault_flow_style(RFRItdump(RRRMRD((s2/usr/lib/python2.7/site-packages/configargparse.pyRs	(RRRRRFRtFalseR(((s2/usr/lib/python2.7/site-packages/configargparse.pyRCs
			tcommand_linetenvironment_variablestconfig_filetdefaultsRcBseZdZdddddgejddddeeedgeegedgdedZ	ddde
jdZddde
jdZ
dZd	Zd
ZdZdZd
ZejdZdZRS(sDrop-in replacement for argparse.ArgumentParser that adds support for
    environment variables and .ini or .yaml-style config files.
    t-terrorsconfig file pathsftakes the current command line args and writes them out to a config file at the given path, then exitscCs'|
|_||_||_tdtjD}tjdkr_d|kr_|d=ntjdkr{||d<ntj	j
|||dkrt|_
n||_
||_||_|r|jddd|d	|d
t|n|r#|jdddd
d	|dt|ndS(s/
Supports all the same args as the argparse.ArgumentParser
        constructor, as well as the following additional args.

        Additional Args:
            add_config_file_help: Whether to add a description of config file
                syntax to the help message.
            add_env_var_help: Whether to add something to the help message for
                args that can be set through environment variables.
            auto_env_var_prefix: If set to a string instead of None, all config-
                file-settable options will become also settable via environment
                variables whose names are this prefix followed by the config
                file key, all in upper case. (eg. setting this to "foo_" will
                allow an arg like "--my-arg" to also be set via the FOO_MY_ARG
                environment variable)
            default_config_files: When specified, this list of config files will
                be parsed in order, with the values from each config file
                taking precedence over pervious ones. This allows an application
                to look for config files in multiple standard locations such as
                the install directory, home directory, and current directory. 
                Also, shell * syntax can be used to specify all conf files in a 
                directory. For exmaple:
                ["/etc/conf/app_config.ini",
                 "/etc/conf/conf-enabled/*.ini",
                "~/.my_app_config.ini",
                "./app_config.txt"]
            ignore_unknown_config_file_keys: If true, settings that are found
                in a config file but don't correspond to any defined
                configargparse args will be ignored. If false, they will be
                processed and appended to the commandline like other args, and
                can be retrieved using parse_known_args() instead of parse_args()
            config_file_parser_class: configargparse.ConfigFileParser subclass
                which determines the config file format. configargparse comes
                with DefaultConfigFileParser and YAMLConfigFileParser.
            args_for_setting_config_path: A list of one or more command line
                args to be used for specifying the config file path
                (eg. ["-c", "--config-file"]). Default: []
            config_arg_is_required: When args_for_setting_config_path is set,
                set this to True to always require users to provide a config path.
            config_arg_help_message: the help message to use for the
                args listed in args_for_setting_config_path.
            args_for_writing_out_config_file: A list of one or more command line
                args to use for specifying a config file output path. If
                provided, these args cause configargparse to write out a config
                file with settings based on the other provided commandline args,
                environment variants and defaults, and then to exit.
                (eg. ["-w", "--write-out-config-file"]). Default: []
            write_out_config_file_arg_help_message: The help message to use for
                the args in args_for_writing_out_config_file.
            allow_abbrev: Allows long options to be abbreviated if the
                abbreviation is unambiguous. Default: True
        css-|]#\}}|d
kr||fVqdS(tprogtusagetdescriptiontepilogtversiontparentsRtprefix_charstfromfile_prefix_charstargument_defaultRtadd_helpN(sprogsusagesdescriptionsepilogsversionsparentssformatter_classsprefix_charssfromfile_prefix_charssargument_defaultsconflict_handlersadd_help((t.0tktv((s2/usr/lib/python2.7/site-packages/configargparse.pys	<genexpr>fsiRZitallow_abbrevtdestRRtrequiredthelptis_config_file_argt"write_out_config_file_to_this_pathtmetavartCONFIG_OUTPUT_PATHtis_write_out_config_file_argN(ii(ii(t_add_config_file_helpt_add_env_var_helpt_auto_env_var_prefixRItlocalsRtsystversion_infoR
Rt__init__RRt_config_file_parsert_default_config_filest _ignore_unknown_config_file_keystadd_argumenttTrue(RRVRWRXRYRZR[RR\R]R^RR_tadd_config_file_helptadd_env_var_helptauto_env_var_prefixtdefault_config_filestignore_unknown_config_file_keystconfig_file_parser_classtargs_for_setting_config_pathtconfig_arg_is_requiredtconfig_arg_help_messaget args_for_writing_out_config_filet&write_out_config_file_arg_help_messageRctkwargs_for_super((s2/usr/lib/python2.7/site-packages/configargparse.pyRrs0U			

		
	c	CsQ|jd|d|d|d|\}}|rM|jddj|n|S(sTSupports all the same args as the ArgumentParser.parse_args(..),
        as well as the following additional args.

        Additional Args:
            args: a list of args as in argparse, or a string (eg. "-x -y bla")
            config_file_contents: String. Used for testing.
            env_vars: Dictionary. Used for testing.
        targst	namespacetconfig_file_contentstenv_varssunrecognized arguments: %st (tparse_known_argsRUR=(RRRRRtargv((s2/usr/lib/python2.7/site-packages/configargparse.pyt
parse_argss
c"s%|dkrtjd}n-t|tkr=|j}nt|}t}xu|D]m}|r|djkrd|kr|jdd\}}|j||j|qY|j|qYW|}xj	D]}	|	j
|	_qWt_
|r,dt|f}
i|
d6j
t<njdk	rxj	D]}	j|	}|rE|	jp|	jp|	jp|	jpt|	tjkrE|djj}j|jddj|	_qEqEWng}
gj	D]A}	|	jr|	jr|	j|krt||	j
r|	^q}x:|D]2}|j}||}|
j|||7}
q:W|
|}|
rtg|D]"}	|	j|	||	jff^qj
t<ntdj	D}|od|kpd	|k}tfd
j	D}g}|rBt|}d|_|g}n|sZj |}nx^t!|D]P}z=yj"j#|}Wn t$k
r}j%|nXWdt&|d
r|j'nXg}x|j(D]\}}||kr||}t||j
}n'd}j)p8t|j*|}|s|j|||7}dt+|jf}|j
krtj
|<n||fj
||<qqW||}qgWt}xj	D]}|jp|j,t-t.gk}t||j
s|s|j/dks|j/t0kst|t1krBqq|j
r[|j
d}n	|j2}|t|j/f||<qW|r|j
t3<ntj4j5d|d|\}}gj	D]}	t6|	dt7r|	^q}|rg}x|D]y}t6||j2d}|ry)t8|d} |j|WdQXWqut9k
rq}t:d||fquXqqW|rj;j
|}j"j<|}!x3|D]+}t8|d} | j=|!WdQXqWt>|dkr|d}nj?ddt|qn||fS(sTSupports all the same args as the ArgumentParser.parse_args(..),
        as well as the following additional args.

        Additional Args:
            args: a list of args as in argparse, or a string (eg. "-x -y bla")
            config_file_contents: String. Used for testing.
            env_vars: Dictionary. Used for testing.
        iit=tRTt_css*|] }t|tjkr|VqdS(N(R;R
t_HelpAction(R`ta((s2/usr/lib/python2.7/site-packages/configargparse.pys	<genexpr>ss-hs--helpc3s1|]'}j|D]}||fVqqdS(N(tget_possible_config_keys(R`tactiont
config_key(R(s2/usr/lib/python2.7/site-packages/configargparse.pys	<genexpr>ss
method argNtcloses%s|%siRRRktws Couldn't open %s for writing: %ssWrote config file to (@RRpRR;R?R2R<R\tappendt_actionstoption_stringstis_positional_argRt_source_to_settingst_COMMAND_LINE_SOURCE_KEYRnRtenv_varRgRkR
RR,treplacetuppertalready_on_command_linet convert_item_to_command_line_argt_ENV_VAR_SOURCE_KEYtanyRIRR
t_open_config_filestreversedRsRRRUthasattrRRRut4get_command_line_key_for_unknown_config_file_settingt_CONFIG_FILE_SOURCE_KEYtnargstOPTIONALtZERO_OR_MORERtSUPPRESSt#ACTION_TYPES_THAT_DONT_NEED_A_VALUERdt_DEFAULTS_SOURCE_KEYRRR3ROtopentIOErrorRt get_items_for_config_file_outputRR@Rtexit("RRRRRtnormalized_argstargR&R(Rta_v_pairtconfig_file_keyststripped_config_file_keytenv_var_argstactions_with_env_var_valuesRtsupports_help_argtskip_config_file_parsingtknown_config_keystconfig_streamsRtconfig_itemsRKtconfig_argstdiscard_this_keyt
source_keytdefault_settingstcares_about_default_valuetunknown_argst&user_write_out_config_file_arg_actionstoutput_file_pathstoutput_file_pathtoutput_filet
file_contents((Rs2/usr/lib/python2.7/site-packages/configargparse.pyRs
	
%

&"
	
	
9	
			
			


 cCs+|j|j}|jdd|}|S(sCompute a commandline arg key to be used for a config file setting
        that doesn't correspond to any defined configargparse arg (and so
        doesn't have a user-specified commandline arg key).

        Args:
            key: The config file key that was being set.
        ii(R,R\(RR&tkey_without_prefix_charstcommand_line_key((s2/usr/lib/python2.7/site-packages/configargparse.pyRKscCs!t}x|jD]\}}|tkr|d\}}x|jD]}|j|}	|	rH|jrHt||jrHt||j	d}
|
dk	rt|
tkrt
|
j}
n|
||	d<qqHqHWq|tkr^x(|jD]\\}\}}
|j|}	|	rt||j	d}
|
dk	rW|
||	d<qWqqWq|jtrx|jD]\}\}}
|
||<qzWq|tkrxm|jD]\\}\}}
|j|}	|	rt||j	d}
|
dk	r|
||	d<qqqWqqW|S(sConverts the given settings back to a dictionary that can be passed
        to ConfigFormatParser.serialize(..).

        Args:
            source_to_settings: the dictionary described in parse_known_args()
            parsed_namespace: namespace object created within parse_known_args()
        Returns:
            an OrderedDict where keys are strings and values are either strings
            or lists
        RiN(RRRRRRRRR3RdRR;tboolR?tlowerRR-RR(Rtsource_to_settingstparsed_namespacetconfig_file_itemstsourcetsettingsRtexisting_command_line_argsRRR(R&((s2/usr/lib/python2.7/site-packages/configargparse.pyRXs@	c	Csg}|dkr$|j|}n
|jd}|dk	rt|tkr|jd
krq|j|q|jd||fnHt|tkr|dkst|t	j
krx|D]&}|j||jt|qWqt|t	jkr|j
dks:t|j
tkrn|j
d	krn|j|x;|D]}|jt|qNWq|jd
||fnKt|tkr|j||j|ntdt||f|S(sConverts a config file or env var key + value to a list of
        commandline args to append to the commandline.

        Args:
            action: The argparse Action object for this setting, or None if this
                config file setting doesn't correspond to any defined
                configargparse arg.
            key: string (config file key or env var name)
            value: parsed value of type string or list
        iR'tfalsetyestnosHUnexpected value for %s: '%s'. Expecting 'true', 'false', 'yes', or 'no't+t*isp%s can't be set to a list '%s' unless its action type is changed to 'append' or nargs is set to '*', '+', or > 1s&Unexpected value type %s for value: %sN(strueRsyesR(RR(RRRR;RRRRUR<R
t
_AppendActionR?t_StoreActionRtintR(RRR&R(RRt	list_elem((s2/usr/lib/python2.7/site-packages/configargparse.pyRs6
	!

$$

	
cCsdg}xW|jD]L}tg|jD]}|jd|^q#r||d|g7}qqW|S(sThis method decides which actions can be set in a config file and
        what their keys will be. It returns a list of 0 or more config keys that
        can be used to set the given action's value in a config file.
        i(RRR\R-(RRtkeysRtc((s2/usr/lib/python2.7/site-packages/configargparse.pyRs
/cCssgttjttjj|jD]}|D]}t|^q/q%}g|jD]}t|dt	rT|^qT}|s|Sx|D]}t
jd|jdt	}|j
|d}	tj|	||_|jd|}
|
sqn|
\}}t||jd}
|
s qntjj|
}
tjj|
sX|jd|
n|t|
g7}qW|S(sjTries to parse config file path(s) from within command_line_args.
        Returns a list of opened config files, including files specified on the
        commandline as well as any default_config_files specified in the
        constructor that are present on disk.

        Args:
            command_line_args: List of all args (already split on spaces)
        RgR\R_cSsdS(N((Rtmessage((s2/usr/lib/python2.7/site-packages/configargparse.pyterror_methodsRsFile not found: %sN(R>tglobtostpatht
expanduserRtRRR3ROR
RR\t_add_actionttypest
MethodTypeRURRdRtisfile(Rtcommand_line_argstfilestftconfig_filesRtuser_config_file_arg_actionsRt
arg_parserRt
parsed_argRRtuser_config_file((s2/usr/lib/python2.7/site-packages/configargparse.pyRs0
+.
			
	cCs)idt6dt6dt6dt6}t}x|jjD]\}}|jd}||dt|d}|j	|x|jD]\}\}}|r|j	d|d	|fqt
|tkr|j	d
|qt
|tkr|j	d
dj
|qqWq;W|jS(sReturns a string with all args and settings and where they came from
        (eg. commandline, config file, enviroment variable or default)
        sCommand Line Args: sEnvironment Variables:
sConfig File (%s):
s
Defaults:
t|iis
  %-19s%s
t:s  %s
R(RRRRRRRR2ttupleR@R;R?R<R=RA(Rtsource_key_to_display_value_mapRBRRR&RR(((s2/usr/lib/python2.7/site-packages/configargparse.pyt
format_valuess$
	
%cCs|j|jdS(sBPrints the format_values() string (to sys.stdout or another file).N(R@R(Rtfile((s2/usr/lib/python2.7/site-packages/configargparse.pytprint_valuesscCsd}t}t}|jr|j}d|jd}g|jD]S}|jD]C}|j|rL|jdkp|jp|j	rL||f^qLq?}g|jD]}t
|dtr|^q}	|r|s|	rt|_t}|d||ddf7}djd|	D}
|
r/d	|
}
n|s;|
rk|d
dj|t
td|
g7}n|d|jj7}qn|jr1g|jD]'}t
|ddr|j|f^q}xf|D][\}}d
|}
|jsd|_n|
|jkr|j|
7_t}t|_qqWn|s=|rdg}|r\dg|}n|rrdg|}n|ddj|7}n|r|jpdd||_ntjj|S(NRiiRfRgsCArgs that start with '%s' (eg. %s) can also be set in a config files or css%|]}|jr|jdVqdS(iN(R(R`R((s2/usr/lib/python2.7/site-packages/configargparse.pys	<genexpr>-ssspecified via s (%s).RRs   [env var: %s]RSsconfig file valuessenvironment variablessT If an arg is specified in more than one place, then commandline values override %s.s which override (RORlRtR\RRRRdRgRkR3RwR=R<tfilterRRsRRmRRfRXR
Rtformat_help(RR tadded_config_file_helptadded_env_var_helpR{tccRRtconfig_settable_argstconfig_path_actionstconfig_arg_stringtenv_var_actionsRtenv_var_help_stringt
value_sources((s2/usr/lib/python2.7/site-packages/configargparse.pyRs`		+	

!	'
		N(RRRRR
t
HelpFormatterRwRORRrRtenvironRRRRRRRRRptstdoutRR(((s2/usr/lib/python2.7/site-packages/configargparse.pyRsJZ	
	.	/	
	7	cOs$|jdd
}|jdd
p3|jdd
}|jdd
}|j||}|j|_||_||_||_|jr|rtdn|jrt	|t
jkrtdn|jr d}t	|t
jkrt|dn|r t|d	q n|S(s

    This method supports the same args as ArgumentParser.add_argument(..)
    as well as the additional args below.

    Additional Args:
        env_var: If set, the value of this environment variable will override
            any config file or default values for this arg (but can itself
            be overriden on the commandline). Also, if auto_env_var_prefix is
            set in the constructor, this env var name will be used instead of
            the automatic name.
        is_config_file_arg: If True, this arg is treated as a config file path
            This provides an alternative way to specify config files in place of
            the ArgumentParser(fromfile_prefix_chars=..) mechanism.
            Default: False
        is_write_out_config_file_arg: If True, this arg will be treated as a
            config file path, and, when it is specified, will cause
            configargparse to write all current commandline args to this file
            as config options and then exit.
            Default: False
    RRgtis_config_fileRks*env_var can't be set for a positional arg.s9arg with is_config_file_arg=True must have action='store's+arg with is_write_out_config_file_arg=True smust have action='store's'can't also have is_config_file_arg=TrueN(tpopRtoriginal_add_argument_methodRRRRgRkRR;R
R(RRRRRgRkRterror_prefix((s2/usr/lib/python2.7/site-packages/configargparse.pyRvQs,
				cstfd|DS(ssUtility method for checking if any of the potential_command_line_args is
    already present in existing_args.
    c3s|]}|kVqdS(N((R`t
potential_arg(texisting_args_list(s2/usr/lib/python2.7/site-packages/configargparse.pys	<genexpr>s(R(R
tpotential_command_line_args((R
s2/usr/lib/python2.7/site-packages/configargparse.pyRs(FR
RRR.RpRRqtioRtordereddictRtcollectionstsett_StoreTrueActiont_StoreFalseActiont_CountActiont_StoreConstActiont_AppendConstActionRRRRRRtRawTextHelpFormattertRawDescriptionHelpFormatterRtobjectRRHRRRCRRRRRRvRt_ActionsContainerRRt
ArgumentErrortArgumentTypeErrortActiontFileTypet	NamespacetONE_OR_MORERt	REMAINDERRRtinitArgumentParsertgetArgumentParsertgetArgParsert	getParsertget_arg_parsert
get_parsert	ArgParsertParsertadd_argtaddRRRtparse_knowntRawFormattertDefaultsFormattertDefaultsRawFormatter(((s2/usr/lib/python2.7/site-packages/configargparse.pyt<module>s	(Q?L	6