-í
”‚É<c       s(     d  Z    d k Z  d „  Z d S(   s0   Guess which db package to use to open a db file.Nc    s¸     d k  }  y_  t |  t i d d ƒ }  | i ƒ   t |  t i d d ƒ }  | i ƒ   d SWn  t j
 o
  n X y   t |  t i d d ƒ } ! | i ƒ  " t |  t i d d ƒ } # z. $ | i d ƒ d d	 g j o % d
 Sn Wd & ' | i ƒ  XWn ( t j
 o
 ) n X, y - t |  d ƒ } Wn . t j
 o / t	 Sn X2 | i d ƒ } 3 | i ƒ  4 | d d !} 7 t | ƒ d j o 8 d Sn ; y < | i d | ƒ \ } Wn  = | i j
 o > d Sn XA | d j o B d Sn E | d d f j o F d Sn I y  J | i d | d ƒ \ } Wn  K | i j
 o L d Sn XO | d d f j o P d Sn S d Sd S(   sg  Guess which db package to use to open a db file.

    Return values:

    - None if the database file can't be read;
    - empty string if the file can be read but can't be recognized
    - the module name (e.g. "dbm" or "gdbm") if recognized.

    Importing the given module may still fail, and opening the
    database using that module may still fail.
    Ns   pags   rbs   dirs   dbms   dati   s   's   "s   dumbdbmi   i    i   s    s   =liÎšWs   gdbmia i as   dbhashiüÿÿÿ(   s   structs   opens   filenames   oss   extseps   fs   closes   IOErrors   reads   Nones   s16s   ss   lens   unpacks   magics   error(   s   filenames   magics   structs   fs   s16s   s(    (    s'   /usr/local/twc/lib/python2.2/whichdb.pys   whichdb sZ    (   s   __doc__s   oss   whichdb(   s   whichdbs   os(    (    s'   /usr/local/twc/lib/python2.2/whichdb.pys   ? s   