# pylint: disable=unused-import

import sys

PY2 = sys.version_info[0] == 2

if PY2: # pragma: no cover
    from ConfigParser import RawConfigParser
    from httplib import HTTPConnection
    input = raw_input
    def ord_byte(char):
        ''' convert a single character into integer representation '''
        return ord(char)
else: # pragma: no cover
    from configparser import RawConfigParser
    from http.client import HTTPConnection
    def ord_byte(byte):
        ''' convert a single byte into integer representation '''
        return byte

# pylint: disable=unused-import

import sys

PY2 = sys.version_info[0] == 2

if PY2: # pragma: no cover
    from ConfigParser import RawConfigParser
    from httplib import HTTPConnection
    input = raw_input
    def ord_byte(char):
        ''' convert a single character into integer representation '''
        return ord(char)
else: # pragma: no cover
    from configparser import RawConfigParser
    from http.client import HTTPConnection
    input = input
    def ord_byte(byte):
        ''' convert a single byte into integer representation '''
        return byte

Fix python 3 input compatiblity
Fix python 3 input compatiblity

  # pylint: disable=unused-import
  
  import sys
  
  PY2 = sys.version_info[0] == 2
  
  if PY2: # pragma: no cover
      from ConfigParser import RawConfigParser
      from httplib import HTTPConnection
      input = raw_input
      def ord_byte(char):
          ''' convert a single character into integer representation '''
          return ord(char)
  else: # pragma: no cover
      from configparser import RawConfigParser
      from http.client import HTTPConnection
+     input = input
      def ord_byte(byte):
          ''' convert a single byte into integer representation '''
          return byte
  
Fix python 3 input compatiblity
## Code Before:
# pylint: disable=unused-import

import sys

PY2 = sys.version_info[0] == 2

if PY2: # pragma: no cover
    from ConfigParser import RawConfigParser
    from httplib import HTTPConnection
    input = raw_input
    def ord_byte(char):
        ''' convert a single character into integer representation '''
        return ord(char)
else: # pragma: no cover
    from configparser import RawConfigParser
    from http.client import HTTPConnection
    def ord_byte(byte):
        ''' convert a single byte into integer representation '''
        return byte

## Instruction:
Fix python 3 input compatiblity
## Code After:
# pylint: disable=unused-import

import sys

PY2 = sys.version_info[0] == 2

if PY2: # pragma: no cover
    from ConfigParser import RawConfigParser
    from httplib import HTTPConnection
    input = raw_input
    def ord_byte(char):
        ''' convert a single character into integer representation '''
        return ord(char)
else: # pragma: no cover
    from configparser import RawConfigParser
    from http.client import HTTPConnection
    input = input
    def ord_byte(byte):
        ''' convert a single byte into integer representation '''
        return byte
