Submit
Path:
~
/
/
lib
/
python2.7
/
site-packages
/
awscli
/
customizations
/
File Content:
utils.pyc
� =��Xc @ s� d Z d d l Z d d l m Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d d � Z d S( sC Utility functions to make it easier to work with customizations. i����N( t ClientErrorc C s( | | } | | | <| | _ | | =d S( N( t name( t argument_tablet existing_namet new_namet current( ( s; /tmp/pip-build-uEGWVr/awscli/awscli/customizations/utils.pyt rename_argument s c C s0 | | } t j | � } | | _ | | | <| S( N( t copyR ( R t current_namet copy_nameR t copy_arg( ( s; /tmp/pip-build-uEGWVr/awscli/awscli/customizations/utils.pyt _copy_argument s c C sP | | } t | | | � } t | _ | j rL t | _ t | _ t | _ n d S( s{ Create a hidden alias for an existing argument. This will copy an existing argument object in an arg table, and add a new entry to the arg table with a different name. The new argument will also be undocumented. This is needed if you want to check an existing argument, but you still need the other one to work for backwards compatibility reasons. N( R t Truet _UNDOCUMENTEDt requiredt Falset _DOCUMENT_AS_REQUIRED( R R t alias_nameR R ( ( s; /tmp/pip-build-uEGWVr/awscli/awscli/customizations/utils.pyt make_hidden_alias% s c C s( | | } | | | <| | _ | | =d S( N( R ( t command_tableR R R ( ( s; /tmp/pip-build-uEGWVr/awscli/awscli/customizations/utils.pyt rename_command>