Skip to content

Commit

Permalink
Remove unused Python imports
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalswift committed Jan 13, 2017
1 parent 5754e03 commit 95bab82
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion contrib/devtools/github-merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# 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.
from __future__ import division,print_function,unicode_literals
import os,sys
import os
from sys import stdin,stdout,stderr
import argparse
import subprocess
Expand Down
1 change: 0 additions & 1 deletion contrib/devtools/test-security-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
'''
from __future__ import division,print_function
import subprocess
import sys
import unittest

def write_testcode(filename):
Expand Down
6 changes: 0 additions & 6 deletions contrib/linearize/linearize-data.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,10 @@
#

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 re
import os
import os.path
import base64
import sys
import hashlib
import datetime
Expand Down
1 change: 0 additions & 1 deletion contrib/linearize/linearize-hashes.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
except ImportError: # Python 2
import httplib
import json
import struct
import re
import base64
import sys
Expand Down
1 change: 0 additions & 1 deletion contrib/zmq/zmq_sub.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

import array
import binascii
import zmq
import struct
Expand Down
1 change: 0 additions & 1 deletion qa/rpc-tests/nodehandling.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *

import http.client
import urllib.parse

class NodeHandlingTest (BitcoinTestFramework):
Expand Down
1 change: 0 additions & 1 deletion qa/rpc-tests/p2p-mempool.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from test_framework.mininode import *
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *
import time

class TestNode(NodeConnCB):
def __init__(self):
Expand Down
3 changes: 0 additions & 3 deletions qa/rpc-tests/zmq_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
import zmq
import struct

import http.client
import urllib.parse

class ZMQTest (BitcoinTestFramework):

def __init__(self):
Expand Down
1 change: 0 additions & 1 deletion share/qt/extract_strings_qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
'''
from __future__ import division,print_function,unicode_literals
from subprocess import Popen, PIPE
import glob
import operator
import os
import sys
Expand Down
1 change: 0 additions & 1 deletion src/test/bitcoin-util-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
from __future__ import division,print_function,unicode_literals
import os
import sys
import bctest
import buildenv
import argparse
Expand Down

0 comments on commit 95bab82

Please sign in to comment.