
TaΈ2c      s3     e  d   Z  g  Z  d   Z # e i e  % d   Z * e i e  , d   Z 2 e i e  4 d   Z : e i e  < d   Z B e i e  D d   Z	 I e i e	  K d   Z
 P e i e
  R d   Z X e i e  Z d	   Z _ e i e  e d
   Z t d   Z d S(   c   sΈ    	 | t j o( 
 t |  d  }  | i d  } n
  t }  zD  x: t d  r- }  | | |  }  | o  | Sn qV WWd    | o  | i	   n X t Sd  S(   Ns   ri    i    (
   s   hs   Nones   opens   filenames   fs   reads   testss   tfs   ress   close(   s   filenames   hs   fs   tfs   ress   /usr/lib/python1.4/imghdr.pys   whatc   s&      |  d  d j o ! d Sn d  S(   Ni   s   Ϊs   rgb(   s   h(   s   hs   fs   /usr/lib/python1.4/imghdr.pys   test_rgbc   s,   % ' |  d  d d f j o ( d Sn d  S(   Ni   s   GIF87as   GIF89as   gif(   s   h(   s   hs   fs   /usr/lib/python1.4/imghdr.pys   test_gifc   s[   , . t  |   d j o0 |  d d j o |  d d j o |  d d j o 0 d Sn d  S(	   Ni   i    s   Pi   s   14i   s    	
s   pbm(   s   lens   h(   s   hs   fs   /usr/lib/python1.4/imghdr.pys   test_pbmc   s[   4 6 t  |   d j o0 |  d d j o |  d d j o |  d d j o 8 d Sn d  S(	   Ni   i    s   Pi   s   25i   s    	
s   pgm(   s   lens   h(   s   hs   fs   /usr/lib/python1.4/imghdr.pys   test_pgmc   s[   < > t  |   d j o0 |  d d j o |  d d j o |  d d j o @ d Sn d  S(	   Ni   i    s   Pi   s   36i   s    	
s   ppm(   s   lens   h(   s   hs   fs   /usr/lib/python1.4/imghdr.pys   test_ppmc   s,   D F |  d  d d f j o G d Sn d  S(   Ni   s   MMs   IIs   tiff(   s   h(   s   hs   fs   /usr/lib/python1.4/imghdr.pys	   test_tiffc   s&   K M |  d  d j o N d Sn d  S(   Ni   s   Y¦js   rast(   s   h(   s   hs   fs   /usr/lib/python1.4/imghdr.pys	   test_rastc   s5   R T d } U |  t |   | j o V d Sn d  S(   Ns   #define s   xbm(   s   ss   hs   len(   s   hs   fs   ss   /usr/lib/python1.4/imghdr.pys   test_xbmc   s)   Z \ |  d d !d j o ] d Sn d  S(   Ni   i
   s   JFIFs   jpeg(   s   h(   s   hs   fs   /usr/lib/python1.4/imghdr.pys	   test_jpegc    sγ   e f k  }  g d } h |  i d o |  i d d j o i |  i d d 5j d } n k yI l |  i d o m t |  i d | d  n o t d g | d  Wn9 p t j
 o* q |  i i d  r |  i d  n Xd  S(   Ni    i   s   -ri   s   .s   
[Interrupted]
(   s   syss	   recursives   argvs   testalls   KeyboardInterrupts   stderrs   writes   exit(   s   syss	   recursives   /usr/lib/python1.4/imghdr.pys   testc   s
  t u k  } v k } w xλ |  d w rή } x | i i |  oq y | d Gz | p | oI { d GH| k } } | i | i i	 | d   } ~ t | | d  n	  d GHnR  | d G | i i    y  t |  GHWn  t j
 o  d GHn Xq! Wd  S(   Ni    s   /:s   recursing down:s   *s   *** directory (use -r) ***s   :s   *** not found ***(   s   syss   oss   lists   filenames   paths   isdirs	   recursives   toplevels   globs   joins   namess   testalls   stdouts   flushs   whats   IOError(   s   lists	   recursives   toplevels   syss   oss   filenames   globs   namess   /usr/lib/python1.4/imghdr.pys   testallN(   s   Nones   whats   testss   test_rgbs   appends   test_gifs   test_pbms   test_pgms   test_ppms	   test_tiffs	   test_rasts   test_xbms	   test_jpegs   tests   testall(    s   /usr/lib/python1.4/imghdr.pys   ?