³ò
§òLc        	   @   s…   d  d k  Z  d  d k Z d  d k l Z d  d k l Z d „  Z e d j o3 x0 e ƒ  D]! Z d e i e i e i	 f GHqX Wn d S(   iÿÿÿÿN(   t   BeautifulSoup(   t   debbugsc          #   sš   t  t i d ƒ ƒ }  d „  |  i d d h  t i d ƒ d <ƒDƒ } t ƒ  ‰  ‡  f d †  | Dƒ } x. | D]& } | o | i d j o	 | Vql ql Wd  S(	   Ns:   http://bugs.debian.org/release-critical/other/testing.htmlc         s   s   x |  ] } | d  Vq Wd S(   t   nameN(    (   t   .0t   x(    (    s8   /afs/sipb.mit.edu/project/debathena/debian-bts/rcbugs.pys	   <genexpr>	   s   	 t   at   attrss   ^[0-9]+$R   c         3   s"   x |  ] } ˆ  i  | ƒ Vq Wd  S(   N(   t   get(   R   t   bug(   t   bts(    s8   /afs/sipb.mit.edu/project/debathena/debian-bts/rcbugs.pys	   <genexpr>   s   	 t   done(   R    t   urllibt   urlopent   findAllt   ret   compileR   t   status(   t   soupt   bugnumst   allbugsR   (    (   R	   s8   /afs/sipb.mit.edu/project/debathena/debian-bts/rcbugs.pyt   open_rc_bugs   s    1	 t   __main__s   %s	%s	%s(
   R   R   R    t   btsutils.debbugsR   R   t   __name__R   t   packaget   summary(    (    (    s8   /afs/sipb.mit.edu/project/debathena/debian-bts/rcbugs.pys   <module>   s   	
 