Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/smanonr..../lib64/python3..../site-pac.../cffi
File: lock.py
import sys
[0] Fix | Delete
[1] Fix | Delete
if sys.version_info < (3,):
[2] Fix | Delete
try:
[3] Fix | Delete
from thread import allocate_lock
[4] Fix | Delete
except ImportError:
[5] Fix | Delete
from dummy_thread import allocate_lock
[6] Fix | Delete
else:
[7] Fix | Delete
try:
[8] Fix | Delete
from _thread import allocate_lock
[9] Fix | Delete
except ImportError:
[10] Fix | Delete
from _dummy_thread import allocate_lock
[11] Fix | Delete
[12] Fix | Delete
[13] Fix | Delete
##import sys
[14] Fix | Delete
##l1 = allocate_lock
[15] Fix | Delete
[16] Fix | Delete
##class allocate_lock(object):
[17] Fix | Delete
## def __init__(self):
[18] Fix | Delete
## self._real = l1()
[19] Fix | Delete
## def __enter__(self):
[20] Fix | Delete
## for i in range(4, 0, -1):
[21] Fix | Delete
## print sys._getframe(i).f_code
[22] Fix | Delete
## print
[23] Fix | Delete
## return self._real.__enter__()
[24] Fix | Delete
## def __exit__(self, *args):
[25] Fix | Delete
## return self._real.__exit__(*args)
[26] Fix | Delete
## def acquire(self, f):
[27] Fix | Delete
## assert f is False
[28] Fix | Delete
## return self._real.acquire(f)
[29] Fix | Delete
[30] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function