Current File : //lib/python2.7/site-packages/euca2ools/commands/bundle/bundleanduploadimage.pyc |
�
��Xc @ s d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l
m Z d d l m
Z
m Z m Z d d l Z d d l Z d d l m Z m Z d d l m Z d d l m Z d d
l m Z d e e e e f d � � YZ d S(
i����N( t Arg( t ClientError( t FileTransferProgressBarMixin( t create_bundle_pipeline( t create_bundle_part_deletert create_bundle_part_writert create_mpconn_aggregator( t BundleCreatingMixint BundleUploadingMixin( t BootstrapRequest( t S3Request( t mkdtemp_for_large_filest BundleAndUploadImagec B sh e Z d Z e d d d d d �e d d e d d d d
�g Z d � Z d � Z d
� Z d � Z RS( s0 Prepare and upload an image for use in the clouds --preserve-bundlet actiont
store_truet helps0 do not delete the bundle as it is being uploadeds --max-pending-partst typet defaulti sv pause the bundling process when more than this number
of parts are waiting to be uploaded (default: 2)c C s� | j � t j | � yN t j j | j d | j j d � �| j d <t j j | j
� | j d <Wn'