Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /usr/lib64/python2.7/Tools/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/Tools/scripts/db2pickle.pyo
�
[��dc@sBdZddlZyddlZWnek
r;dZnXyddlZWnek
redZnXyddlZWnek
r�dZnXyddlZWnek
r�dZnXddlZyddl	Z
Wnek
r�ddl
Z
nXejdZd�Z
d�Zedkr>ejeejd��ndS(s5
Synopsis: %(prog)s [-h|-g|-b|-r|-a] dbfile [ picklefile ]

Convert the database file given on the command line to a pickle
representation.  The optional flags indicate the type of the database:

    -a - open using anydbm
    -b - open as bsddb btree file
    -d - open as dbm file
    -g - open as gdbm file
    -h - open as bsddb hash file
    -r - open as bsddb recno file

The default is hash.  If a pickle file is named it is opened for write
access (deleting any existing data).  If no pickle file is named, the pickle
output is written to standard output.

i����NicCstjjtt��dS(N(tsyststderrtwritet__doc__tglobals(((s//usr/lib64/python2.7/Tools/scripts/db2pickle.pytusage/sc		Cs�y1tj|dddddddg�\}}Wntjk
rOt�dSXt|�d	kstt|�d
krt�dSt|�dkr�|d	}tj}nN|d	}yt|dd�}Wn*tk
r�tjj	d|d�dSXd}x�|D]�\}}|d"krOy
tj}Wq�t
k
rKtjj	d�dSXq|d#kr�y
tj}Wq�t
k
r�tjj	d�dSXq|d$kr�y
tj}Wq�t
k
r�tjj	d�dSXq|d%kry
tj}Wq�t
k
rtjj	d�dSXq|d&krSy
tj}Wq�t
k
rOtjj	d�dSXq|d'kry
tj}Wq�t
k
r�tjj	d�dSXqqW|dkr�tdkr�tjj	d�tjj	d�dStj}ny||d�}Wn9tjk
r.tjj	d |�tjj	d!�dSXx7|j�D])}tj|||f|ddk�q<W|j�|j�d	S((NthbrdagthashtbtreetrecnotdbmtgdbmtanydbmiiitwbsUnable to open %s
s-hs--hashsbsddb module unavailable.
s-bs--btrees-rs--recnos-as--anydbmsanydbm module unavailable.
s-gs--gdbmsgdbm module unavailable.
s-ds--dbmsdbm module unavailable.
sbsddb module unavailable - smust specify dbtype.
trsUnable to open %s.  s&Check for format or version mismatch.
(s-hs--hash(s-bs--btree(s-rs--recno(s-as--anydbm(s-gs--gdbm(s-ds--dbm(tgetoptterrorRtlenRtstdouttopentIOErrorRRtNonetbsddbthashopentAttributeErrortbtopentrnopenRRR
tkeystpickletdumptclose(	targstoptstdbfiletpfiletdbopentopttargtdbtk((s//usr/lib64/python2.7/Tools/scripts/db2pickle.pytmain2s�$














'

t__main__i(RRRtImportErrorRR
RRRtcPickleRtargvtprogRR(t__name__texit(((s//usr/lib64/python2.7/Tools/scripts/db2pickle.pyt<module>s6









		T

ZeroDay Forums Mini