File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" standalone =" no" ?>
22<?eclipse-pydev version =" 1.0" ?><pydev_project >
3- <pydev_property name =" org.python.pydev.PYTHON_PROJECT_INTERPRETER" >ndg-https-client-py2.7 </pydev_property >
4- <pydev_property name =" org.python.pydev.PYTHON_PROJECT_VERSION" >python 2.7 </pydev_property >
3+ <pydev_property name =" org.python.pydev.PYTHON_PROJECT_INTERPRETER" >ndg-https-client-py3.4 </pydev_property >
4+ <pydev_property name =" org.python.pydev.PYTHON_PROJECT_VERSION" >python 3.0 </pydev_property >
55<pydev_pathproperty name =" org.python.pydev.PROJECT_SOURCE_PATH" >
66<path >/ndg_httpsclient</path >
77</pydev_pathproperty >
Original file line number Diff line number Diff line change 1212from datetime import datetime
1313import logging
1414import socket
15- import sys
16-
17- if sys .version_info [0 ] > 2 :
18- # Make use of byte buffer for Python 3
19- from io import BytesIO as BufferIO_
20- else :
21- from cStringIO import StringIO as BufferIO_
15+ from io import BytesIO as BufferIO_
2216
2317from OpenSSL import SSL
2418
You can’t perform that action at this time.
0 commit comments