AT Translated Set 2 keyboard
  "   ˆl–ßi~”Še¶¥8 Y¸Ð®21hßÄƒh¹ÃÂ      disabled
     ˆÁÄƒŽ‡ÃÂ ‡    ó
¡ôXc           @   s]   d  d l  m Z d  d l m Z d  d l m Z d  d l m Z d e e f d „  ƒ  YZ d S(   iÿÿÿÿ(   t   delimited_list(   t
   ELBRequest(   t   Arg(   t   TabifyingMixint&   EnableAvailabilityZonesForLoadBalancerc           B   sk   e  Z d  Z e d d d d d ƒe d d d d	 d d
 d e d ƒ d e d d ƒg Z d g Z d „  Z RS(   s5   Add a load balancer to one or more availability zonest   LoadBalancerNamet   metavart   ELBt   helps.   name of the load balancer to modify (required)s   -zs   --availability-zonest   dests   AvailabilityZones.members   ZONE1,ZONE2,...t   typet   ,t   requiredsI   availability zones to add the load
                balancer to (required)t   AvailabilityZonesc         C   s-   |  j  d d j | j d g  ƒ ƒ f ƒ GHd  S(   Nt   AVAILABILITY_ZONESs   , R   (   t   tabifyt   joint   get(   t   selft   result(    (    sr   /usr/lib/python2.7/site-packages/euca2ools/commands/elasticloadbalancing/enableavailabilityzonesforloadbalancer.pyt   print_result*   s    	(	   t   __name__t
   __module__t   DESCRIPTIONR   R    t   Truet   ARGSt	   LIST_TAGSR   (    (    (    sr   /usr/lib/python2.7/site-packages/euca2ools/commands/elasticloadbalancing/enableavailabilityzonesforloadbalancer.pyR       s   	N(	   t   euca2ools.commands.argtypesR    t'   euca2ools.commands.elasticloadbalancingR   t   requestbuilderR   t   requestbuilder.mixinsR   R   (    (    (    sr   /usr/lib/python2.7/site-packages/euca2ools/commands/elasticloadbalancing/enableavailabilityzonesforloadbalancer.pyt   <module>   s        ˆ¿Äƒh¹ÃÂ      AT Translated Set 2 keyboard
  "   ˆl–ßi~”Še¶¥8 Y¸Ë÷1hßÅƒh¹ÄÃ      1
     ˆÆÅƒ®=ÄÃ 
Ð    #
#  randpool.py : Cryptographically strong random number generation
#
# Part of the Python Cryptography Toolkit
#
# Written by Andrew M. Kuchling, Mark Moraes, and others
#
# ===================================================================
# The contents of this file are dedicated to the public domain.  To
# the extent that dedication to the public domain is not available,
# everyone is granted a worldwide, perpetual, royalty-free,
# non-exclusive license to exercise all rights associated with the
# contents of this file for any purpose whatsoever.
# No rights are reserved.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# ===================================================================
#

__revision__ = "$Id$"

from Crypto.pct_warnings import RandomPool_DeprecationWarning
import Crypto.Random
import warnings

class RandomPool:
    """Deprecated.  Use Random.new() instead.

    See http://www.pycrypto.org/randpool-broken
    """
    def __init__(self, numbytes = 160, cipher=None, hash=None, file=None):
        warnings.warn("This application uses RandomPool, which is BROKEN in older releases.  See http://www.pycrypto.org/randpool-broken",
            RandomPool_DeprecationWarning)
        self.__rng = Crypto.Random.new()
        self.bytes = numbytes
        self.bits = self.bytes * 8
        self.entropy = self.bits

    def get_bytes(self, N):
        return self.__rng.read(N)

    def _updateEntropyEstimate(self, nbits):
        self.entropy += nbits
        if self.entropy < 0:
            self.entropy = 0
        elif self.entropy > self.bits:
            self.entropy = self.bits

    def _randomize(self, N=0, devname="/dev/urandom"):
        """Dummy _randomize() function"""
        self.__rn