VirtualPS/2
  "   lY>eJuA3pjbѿ     # Copyright (c) 2016 Hewlett Packard Enterprise Development LP
#
# Redistribution and use of this software in source and binary forms,
# with or without modification, are permitted provided that the following
# conditions are met:
#
#   Redistributions of source code must retain the above copyright notice,
#   this list of conditions and the following disclaimer.
#
#   Redistributions in binary form must reproduce the above copyright
#   notice, this list of conditions and the following disclaimer in the
#   documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

from requestbuilder import Arg

from euca2ools.commands.iam import IAMRequest, AS_ACCOUNT


class RemoveClientIDFromOpenIDConnectProvider(IAMRequest):
    """
    Remove a client ID from an OpenID Connect provider
    """

    ARGS = [Arg('OpenIDConnectProviderArn', metavar='OIDC',
                help='the ARN of the provider to update (required)'),
            Arg('-c', '--client-id', dest='ClientID', metavar='CLIENT',
                required=True,
                help='the client ID to remove from the provider (required)'),
            AS_ACCOUNT]
     h      1
     	h      	7:2
  	   0  "   l=J4 !\bѿ"k ,    
/Oc           @   si   d  Z  d Z d d l Td d d g Z i  d  Z e d k re d d l Z d   Z e j d d  n  d S(   s&   Self-test suite for Crypto.Cipher.CASTs   $Id$i(   t   *t   0123456789abcdeft   238b4fe5847e44b2t    0123456712345678234567893456789as   128-bit keyt   eb6a711a2c02271bt   01234567123456782345s
   80-bit keyt   7ac816d16e9b302et
   0123456712s
   40-bit keyc         C   s0   d d l  m } d d l m } | | d t  S(   Ni(   t   CAST(   t   make_block_testsR   (   t   Crypto.CipherR   t   commonR	   t	   test_data(   t   configR   R	   (    (    sF   /usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_CAST.pyt	   get_tests/   s    t   __main__Nc           C   s   t  j t    S(   N(   t   unittestt	   TestSuiteR   (    (    (    sF   /usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_CAST.pyt   <lambda>6   s    t   defaultTestt   suite(   R   R   R   s   128-bit key(   R   R   R   s
   80-bit key(   R   R   R   s
   40-bit key(	   t   __doc__t   __revision__t   Crypto.Util.py3compatR   R   t   __name__R   R   t   main(    (    (    sF   /usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_CAST.pyt   <module>   s    
      		  	   0  	   0  "   lzC]q@qn	1hk N    # Copyright 2004-2005 Elemental Security, Inc. All Rights Reserved.
# Licensed to PSF under a Contributor Agreement.

"""Safely evaluate Python string literals without using eval()."""

import re

simple_escapes = {"a": "\a",
                  "b": "\b",
                  "f": "\f",
                  "n": "\n",
                  "r": "\r",
                  "t": "\t",
                  "v": "\v",
                  "'": "'",
                  '"': '"',
                  "\\": "\\"}

def escape(m):
    all, tail = m.group(0, 1)
    assert all.startswith("\\")
 