/usr/share/pyshared/eventlet/green/httplib.py is in python-eventlet 0.9.16-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | from eventlet import patcher
from eventlet.green import socket
to_patch = [('socket', socket)]
try:
from eventlet.green import ssl
to_patch.append(('ssl', ssl))
except ImportError:
pass
patcher.inject('httplib',
globals(),
*to_patch)
if __name__ == '__main__':
test()
|