Remove unused Python imports

This commit is contained in:
practicalswift 2017-01-10 23:30:14 +01:00
parent 5754e0341b
commit 95bab821b3
10 changed files with 1 additions and 17 deletions

View file

@ -15,7 +15,7 @@
# In case of a clean merge that is accepted by the user, the local branch with # In case of a clean merge that is accepted by the user, the local branch with
# name $BRANCH is overwritten with the merged result, and optionally pushed. # name $BRANCH is overwritten with the merged result, and optionally pushed.
from __future__ import division,print_function,unicode_literals from __future__ import division,print_function,unicode_literals
import os,sys import os
from sys import stdin,stdout,stderr from sys import stdin,stdout,stderr
import argparse import argparse
import subprocess import subprocess

View file

@ -7,7 +7,6 @@ Test script for security-check.py
''' '''
from __future__ import division,print_function from __future__ import division,print_function
import subprocess import subprocess
import sys
import unittest import unittest
def write_testcode(filename): def write_testcode(filename):

View file

@ -8,16 +8,10 @@
# #
from __future__ import print_function, division from __future__ import print_function, division
try: # Python 3
import http.client as httplib
except ImportError: # Python 2
import httplib
import json
import struct import struct
import re import re
import os import os
import os.path import os.path
import base64
import sys import sys
import hashlib import hashlib
import datetime import datetime

View file

@ -13,7 +13,6 @@ try: # Python 3
except ImportError: # Python 2 except ImportError: # Python 2
import httplib import httplib
import json import json
import struct
import re import re
import base64 import base64
import sys import sys

View file

@ -3,7 +3,6 @@
# Distributed under the MIT software license, see the accompanying # Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php. # file COPYING or http://www.opensource.org/licenses/mit-license.php.
import array
import binascii import binascii
import zmq import zmq
import struct import struct

View file

@ -10,7 +10,6 @@
from test_framework.test_framework import BitcoinTestFramework from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import * from test_framework.util import *
import http.client
import urllib.parse import urllib.parse
class NodeHandlingTest (BitcoinTestFramework): class NodeHandlingTest (BitcoinTestFramework):

View file

@ -6,7 +6,6 @@
from test_framework.mininode import * from test_framework.mininode import *
from test_framework.test_framework import BitcoinTestFramework from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import * from test_framework.util import *
import time
class TestNode(NodeConnCB): class TestNode(NodeConnCB):
def __init__(self): def __init__(self):

View file

@ -12,9 +12,6 @@ from test_framework.util import *
import zmq import zmq
import struct import struct
import http.client
import urllib.parse
class ZMQTest (BitcoinTestFramework): class ZMQTest (BitcoinTestFramework):
def __init__(self): def __init__(self):

View file

@ -8,7 +8,6 @@ they can be picked up by Qt linguist.
''' '''
from __future__ import division,print_function,unicode_literals from __future__ import division,print_function,unicode_literals
from subprocess import Popen, PIPE from subprocess import Popen, PIPE
import glob
import operator import operator
import os import os
import sys import sys

View file

@ -5,7 +5,6 @@
# file COPYING or http://www.opensource.org/licenses/mit-license.php. # file COPYING or http://www.opensource.org/licenses/mit-license.php.
from __future__ import division,print_function,unicode_literals from __future__ import division,print_function,unicode_literals
import os import os
import sys
import bctest import bctest
import buildenv import buildenv
import argparse import argparse