-í
¸B±Oc       sŸ      d  k  Z   d  k Z  d  k Z  d  k Z  d  k Z  d  k Z  d  k Z  d  k	 Z 	 d k
 l Z 
 d  k Z  d „  Z B e e i ƒ d  S(   N(   s   CORBAc    sI    t  i }	  t  i }  |	 i ƒ   t i t i	 t i
 ƒ }  t i i | ƒ  t t i	 ƒ d j  o0  d GH d GH d GH |	 i ƒ   d  Sn7 ! t t i	 ƒ d j o " t } n & t i	 d } ( t i	 d } ) t i d d } * | | i d d	 ƒ d
 7} , d | d } - y . | i | ƒ } Wn / 0 d | GH1 d  Sn X3 xÒ | D3 ]Ç } 4 | | j p
 | t j o¤ 5 t i i | | d ƒ } 6 t | ƒ d j og 7 x] | D7 ]R \ } }
 8 |
 i" d ƒ } 9 |
 d | !d } : t i% |
 ƒ ; t i% | ƒ qËWn	 = d GHn qjW? |	 i ƒ  d  S(   Ni   s2   Usage: python deleteDataImages.py <type> <product>s<   If product is omitted, all of the images for the products ofs   that type will be deleted.i   s
   TWCPERSDIRs   /data/volatile/images/s   .s   /s   .cuts/s   interestlist.s   .cutss/   Error: unable to get product lists for type: %si    s   .tifs   .data.statss$   product list empty, none to process.(&   s   twcs   DataStoreInterfaces   dss	   dsmarshals   dsms   inits   CORBAs   ORB_inits   syss   argvs   ORB_IDs   orbs	   twccommons   corbas   setOrbs   lens   uninits   Nones   productNames	   imageTypes   oss   environs	   imagePaths   replaces   listNames	   configGets   productLists   products   domestics   dataUtils   getValidImageLists	   validLists   its   fns   finds   poss   statfns   remove(   s   argss   listNames	   imagePaths   productLists   poss   productNames	   validLists   products   orbs   dss   fns   dsms   its   statfns	   imageType(    (    s   deleteDataImages.pys   main sH   
 	
 (   s   times   syss   twcs   twc.dsmarshals   twc.DataStoreInterfaces   twccommon.corbas	   twccommons   domestic.wxdatas   domestics   domestic.dataUtils   omniORBs   CORBAs   oss   mains   argv(   s   syss   twcs   CORBAs	   twccommons   times   oss   mains   domestic(    (    s   deleteDataImages.pys   ? s   3