From ed50d9deac9c3e39fc82d758af0d1c49b765ece5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tarjei=20Hus=C3=B8y?= Date: Fri, 3 Jun 2016 23:54:44 -0700 Subject: [PATCH] Order imports alphabetically --- postgres_mitm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/postgres_mitm.py b/postgres_mitm.py index 22c6e88..3092d2c 100644 --- a/postgres_mitm.py +++ b/postgres_mitm.py @@ -21,20 +21,20 @@ from __future__ import print_function import argparse import hashlib +import logging +import select import socket import ssl -import select import struct import threading import time -import logging from collections import namedtuple # Sent by client when requesting TLS connection (this is the magic version # 1234.5679 of the protocol, defined in pgcomm.h) -SSL_STARTUP_RESPONSE = 'S' VERSION_SSL = '\x04\xd2\x16\x2f' VERSION_3 = '\x00\x03\x00\x00' +SSL_STARTUP_RESPONSE = 'S' _logger = logging.getLogger(__name__)