ó ¡ôXc@s`ddlZddlZddlZddlZdefd„ƒYZdefd„ƒYZdS(iÿÿÿÿNtImportManifestcBsJeZdd„Zed„ƒZed„ƒZed„Zed„Z RS(cCsdtj|jjƒ|_|dk r3||j_nd|_d|_d|_ d|_ g|_ dS(N( tloggingt getLoggert __class__t__name__tlogtNonetlevelt file_formattself_destruct_urlt image_sizet volume_sizet image_parts(tselftloglevel((sE/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/structures.pyt__init__#s     cCs&t|ƒ}|j|ƒSWdQXdS(N(topentread_from_fileobj(tclstmanifest_filenametmanifest_fileobj((sE/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/structures.pytread_from_file-scCs}tjj|ƒjƒ}|ƒ}|dj|_|dj|_t|djƒ|_ t|ddƒ|_ dgt|ddj dƒƒ|_ xÆ|dddD]²}t|j dƒƒ}tƒ}||_t|d j d ƒƒ|_t|d j d ƒƒ|_|d j|_|d j|_|dj|_|dj|_||j |RRR=RRRR'R(R)(R R+((sE/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/structures.pyR@}s!     (RRMRR@(((sE/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/structures.pyR&ss (Rt lxml.etreeRtlxml.objectifyR/tobjectRR&(((sE/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/structures.pyts    Q