Viewing File: /usr/lib/python2.7/site-packages/euca2ools/commands/euimage/describepackedimage.pyc
ó
¡ôXc @ si d d l m Z d d l m Z d d l m Z d d l Z d d l m Z d e e f d „ ƒ YZ
d S( iÿÿÿÿ( t Arg( t BaseCommand( t TabifyingMixinN( t ImagePackt DescribePackedImagec B sG e Z e j j Z d Z e d d d d d ƒg Z d „ Z d „ Z
RS( s1 ***TECH PREVIEW***
Show info about an image packt
pack_filenamet metavart FILEt helps* the image pack to show info for (required)c C s t j | j d ƒ S( NR ( R t opent args( t self( ( sR /usr/lib/python2.7/site-packages/euca2ools/commands/euimage/describepackedimage.pyt main( s c C sÖ | j d | j j f ƒ GH| j d | j j f ƒ GH| j j r] | j d | j j f ƒ GHn | j d | j j f ƒ GH| j d | j j f ƒ GHx. t | j j ƒ D] } | j d | f ƒ GHq¤ Wd GH| j j GHd S( Ns Name:s
Architecture:s Epoch:s Version:s Release:s Profile:s Description:(
t tabifyt image_mdt namet archt epocht versiont releaset sortedt profilest description( R t packt profile_name( ( sR /usr/lib/python2.7/site-packages/euca2ools/commands/euimage/describepackedimage.pyt print_result+ s ( t __name__t
__module__t euca2oolst commandst Euca2oolst SUITEt DESCRIPTIONR t ARGSR R ( ( ( sR /usr/lib/python2.7/site-packages/euca2ools/commands/euimage/describepackedimage.pyR "