mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
Merge #9508: Remove unused Python imports
95bab82
Remove unused Python imports (practicalswift)
This commit is contained in:
commit
b0b57a1730
@ -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
|
||||||
|
@ -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):
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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):
|
||||||
|
@ -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):
|
||||||
|
@ -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):
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user