| 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/twisted/persisted/ |
Upload File : |
ó
[³XMc @ sÓ d Z d d l Z d d l Z d d l Z d d l Z y d d l Z Wn e k
re d d l Z n Xy e Wn e k
r‡ e
Z n Xd f d „ ƒ YZ d e f d „ ƒ YZ e
e
d „ Z
d d d g Z d S( s„
DBM-style interface to a directory.
Each key is stored as a single file. This is not expected to be very fast or
efficient, but it's good for easy debugging.
DirDBMs are *not* thread-safe, they should only be accessed by one thread at
a time.
No files should be placed in the working directory of a DirDBM save those
created by the DirDBM itself!
Maintainer: Itamar Shtull-Trauring
iÿÿÿÿNt DirDBMc 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 d „ Z d d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( s A directory with a DBM interface.
This class presents a hash-like interface to a directory of small,
flat files. It can only use strings as keys or values.
c C sè t j j | ƒ | _ t j j | j ƒ s= t j | j ƒ n§ x6 t j t j j | j d ƒ ƒ D] } t j | ƒ q_ Wt j t j j | j d ƒ ƒ } xJ | D]B } | d } t j j | ƒ rÐ t j | ƒ qž t j
| | ƒ qž Wd S( sb
@type name: str
@param name: Base path to use for the directory storage.
s *.news *.rpliüÿÿÿN( t ost patht abspatht dnamet isdirt mkdirt globt joint removet existst rename( t selft namet ft replacementst old( ( s<