doc tox_savefile_test.bash
This commit is contained in:
parent
dee30e905f
commit
525446cc4a
1 changed files with 17 additions and 18 deletions
|
@ -100,6 +100,18 @@ bDEBUG = 'DEBUG' in os.environ and os.environ['DEBUG'] != 0
|
||||||
def trace(s): LOG.log(LOG.level, '+ ' +s)
|
def trace(s): LOG.log(LOG.level, '+ ' +s)
|
||||||
LOG.trace = trace
|
LOG.trace = trace
|
||||||
|
|
||||||
|
global lOUT, bOUT, aOUT, sENC
|
||||||
|
lOUT = []
|
||||||
|
aOUT = {}
|
||||||
|
bOUT = b''
|
||||||
|
sENC = 'utf-8'
|
||||||
|
# grep '#''#' logging_tox_savefile.py|sed -e 's/.* //'
|
||||||
|
sEDIT_HELP = """
|
||||||
|
NAME,.,Nick_name,str
|
||||||
|
STATUSMESSAGE,.,Status_message,str
|
||||||
|
STATUS,.,Online_status,int
|
||||||
|
"""
|
||||||
|
|
||||||
#messenger.c
|
#messenger.c
|
||||||
MESSENGER_STATE_TYPE_NOSPAMKEYS = 1
|
MESSENGER_STATE_TYPE_NOSPAMKEYS = 1
|
||||||
MESSENGER_STATE_TYPE_DHT = 2
|
MESSENGER_STATE_TYPE_DHT = 2
|
||||||
|
@ -176,7 +188,6 @@ Length Contents
|
||||||
8 uint64_t Last seen time
|
8 uint64_t Last seen time
|
||||||
|
|
||||||
"""
|
"""
|
||||||
global sENC
|
|
||||||
dStatus = { # Status Meaning
|
dStatus = { # Status Meaning
|
||||||
0: 'Not a friend',
|
0: 'Not a friend',
|
||||||
1: 'Friend added',
|
1: 'Friend added',
|
||||||
|
@ -694,18 +705,6 @@ def oMainArgparser(_=None):
|
||||||
help='tox profile file - may be encrypted')
|
help='tox profile file - may be encrypted')
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
# grep '#''#' logging_tox_savefile.py|sed -e 's/.* //'
|
|
||||||
sEDIT_HELP = """
|
|
||||||
NAME,.,Nick_name,str
|
|
||||||
STATUSMESSAGE,.,Status_message,str
|
|
||||||
STATUS,.,Online_status,int
|
|
||||||
"""
|
|
||||||
|
|
||||||
global lOUT, bOUT, aOUT, sENC
|
|
||||||
lOUT = []
|
|
||||||
aOUT = {}
|
|
||||||
bOUT = b''
|
|
||||||
sENC = 'utf-8'
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
lArgv = sys.argv[1:]
|
lArgv = sys.argv[1:]
|
||||||
parser = oMainArgparser()
|
parser = oMainArgparser()
|
||||||
|
|
Loading…
Reference in a new issue