Ñò ŽM×Jc @ sž d d k Z d d k Z e i d d j o d d k Z n3 y d d k Z Wn e j o e d ƒ ‚ n Xd e f d „ ƒ YZ d e f d „ ƒ YZ d S( iÿÿÿÿNi i s= Unable to determine sqlite, please make sure it is installed.t CasStorageExceptionc B s e Z RS( ( t __name__t __module__( ( ( s* /usr/lib/python2.6/site-packages/cas/db.pyR s t CasStoragec B s† e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s | | _ d | _ d | _ d S( sP setup database connection and return db cursor for traversing database N( t dbt Nonet connt cursor( t selft database( ( s* /usr/lib/python2.6/site-packages/cas/db.pyt __init__ s c C sE y+ t i | i ƒ | _ | i i ƒ | _ Wn t d ƒ ‚ n Xd S( s execute connection s Cannot connect to databaseN( t sqlitet connectR R R R ( R ( ( s* /usr/lib/python2.6/site-packages/cas/db.pyR s c C s | i i ƒ d S( N( R t commit( R ( ( s* /usr/lib/python2.6/site-packages/cas/db.pyR s c C sN | i i d ƒ | i i d ƒ | i i d ƒ | i i d ƒ | i ƒ d S( Ns¥ create table jobs ( job_id integer primary key autoincrement, identifier integer, date text, email text) ss create table debuginfo ( debug_id integer primary key autoincrement, rpm text) s· create table timestamp ( timestamp_id integer primary key autoincrement, debugpath text, timestamp text, debug_id integer) s¤ create table server ( server_id integer primary key autoincrement, arch text, port text, hostname text) ( R t executeR ( R ( ( s* /usr/lib/python2.6/site-packages/cas/db.pyt buildTable# s c C sS | f } | i i d | ƒ | i i ƒ p | i i d | ƒ n | i ƒ d S( Ns&