Xc@s`ddlZddlZddlZddlZdefdYZdefdYZdS(iNtImportManifestcBsJeZddZedZedZedZedZ 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