tPut imports on seperate lines to comply with pep8 - electrum-personal-server - Maximally lightweight electrum server for a single user HTML git clone https://git.parazyd.org/electrum-personal-server DIR Log DIR Files DIR Refs DIR README --- DIR commit ced0cc03811c8489ace30ff1ed0d46f73ba4a3ba DIR parent bc4dcd80611d1c2e876f6782a0d2a6436631e49a HTML Author: chris-belcher <chris-belcher@users.noreply.github.com> Date: Thu, 5 Dec 2019 09:14:40 +0000 Put imports on seperate lines to comply with pep8 https://www.python.org/dev/peps/pep-0008/#imports Diffstat: M electrumpersonalserver/server/comm… | 20 +++++++++++++++----- M electrumpersonalserver/server/hash… | 4 +++- M electrumpersonalserver/server/peer… | 3 ++- M electrumpersonalserver/server/tran… | 7 +++++-- 4 files changed, 25 insertions(+), 9 deletions(-) --- DIR diff --git a/electrumpersonalserver/server/common.py b/electrumpersonalserver/server/common.py t@@ -1,11 +1,21 @@ -import socket, time, json, datetime, struct, binascii, ssl, os, os.path -from configparser import RawConfigParser, NoSectionError, NoOptionError -from collections import defaultdict -import traceback, sys, platform -from ipaddress import ip_network, ip_address +import socket +import time +import json +import datetime +import struct +import binascii +import ssl +import os +import os.path import logging import tempfile import socket +import traceback +import sys +import platform +from configparser import RawConfigParser, NoSectionError, NoOptionError +from collections import defaultdict +from ipaddress import ip_network, ip_address from electrumpersonalserver.server.jsonrpc import JsonRpc, JsonRpcError import electrumpersonalserver.server.hashes as hashes DIR diff --git a/electrumpersonalserver/server/hashes.py b/electrumpersonalserver/server/hashes.py t@@ -1,5 +1,7 @@ -import hashlib, binascii, math +import hashlib +import binascii +import math ## stuff copied from electrum's source DIR diff --git a/electrumpersonalserver/server/peertopeer.py b/electrumpersonalserver/server/peertopeer.py t@@ -1,6 +1,7 @@ #! /usr/bin/env python -import socket, time +import socket +import time import base64 import threading import random DIR diff --git a/electrumpersonalserver/server/transactionmonitor.py b/electrumpersonalserver/server/transactionmonitor.py t@@ -1,8 +1,11 @@ -import time, pprint, math, sys +import time +import pprint +import math +import sys +import logging from decimal import Decimal from collections import defaultdict -import logging from electrumpersonalserver.server.jsonrpc import JsonRpcError from electrumpersonalserver.server.hashes import (