| Server IP : 61.19.30.66 / Your IP : 216.73.216.15 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python2.7/dist-packages/landscape/package/ |
Upload File : |
ó
}9Rc @ s d Z d d l Z y d d l Z Wn! e k
rE d d l m Z n Xd d l m Z d d l m Z d e
f d „ ƒ YZ d e
f d „ ƒ YZ d
e
f d „ ƒ YZ d e f d
„ ƒ YZ d e f d „ ƒ YZ d e
f d „ ƒ YZ d e
f d „ ƒ YZ d „ Z d „ Z d „ Z d S( sE Provide access to the persistent data used by L{PackageTaskHandler}s.iÿÿÿÿN( t dbapi2( t bpickle( t with_cursort UnknownHashIDRequestc B s e Z d Z RS( s$ Raised for unknown hash id requests.( t __name__t
__module__t __doc__( ( ( s; /usr/lib/python2.7/dist-packages/landscape/package/store.pyR
s t InvalidHashIdDbc B s e Z d Z RS( sA Raised when trying to add an invalid hash=>id lookaside database.( R R R ( ( ( s; /usr/lib/python2.7/dist-packages/landscape/package/store.pyR s t HashIdStorec B s€ e Z d Z d Z d „ Z d „ Z e d „ ƒ Z e d „ ƒ Z e d „ ƒ Z
e d „ ƒ Z e d „ ƒ Z e d „ ƒ Z
RS(
s C{HashIdStore} stores package hash=>id mappings in a file.
The file is a SQLite database that contains a single table called "hash".
The table schema is defined in L{ensure_hash_id_schema}.
@param filename: The file where the mappings are persisted to.
c C s
| | _ d S( N( t _filename( t selft filename( ( s; /usr/lib/python2.7/dist-packages/landscape/package/store.pyt __init__ s c C s t | j ƒ d S( N( t ensure_hash_id_schemat _db( R
( ( s; /usr/lib/python2.7/dist-packages/landscape/package/store.pyt _ensure_schema"