Sorted imports

This commit is contained in:
Biryuzovye Kleshni 2018-06-23 11:00:24 +00:00
parent 46da7e81bb
commit 917b55d463
7 changed files with 21 additions and 21 deletions

View File

@ -1,16 +1,16 @@
import sys
import multiprocessing
import time
import struct
import threading
import Queue
import collections
import multiprocessing
import struct
import sys
import threading
import time
import utils
import dumbsolver
import forkingsolver
import fastsolver
import forkingsolver
import gpusolver
import utils
timeout = .5

View File

@ -1,6 +1,6 @@
import ctypes
import struct
import hashlib
import struct
import utils

View File

@ -1,8 +1,8 @@
import sys
import ctypes
import os.path
import platform
import subprocess
import ctypes
import sys
class FastSolverError(Exception):
pass

View File

@ -1,5 +1,5 @@
import os
import multiprocessing
import os
import struct
import dumbsolver

View File

@ -1,6 +1,6 @@
import hashlib
import struct
import os.path
import struct
import utils
@ -15,8 +15,8 @@ class GPUSolver(object):
global pyopencl, numpy
try:
import pyopencl
import numpy
import pyopencl
except ImportError:
raise GPUSolverError()

View File

@ -1,19 +1,19 @@
#!/usr/bin/env python2.7
import unittest
import os.path
import binascii
import struct
import ctypes
import ctypes.util
import os.path
import struct
import sys
import unittest
import __init__
import utils
import dumbsolver
import forkingsolver
import fastsolver
import forkingsolver
import gpusolver
import utils
codePath = os.path.dirname(__file__)

View File

@ -1,9 +1,9 @@
import hashlib
import struct
import time
import math
import sys
import os
import struct
import sys
import time
def calculateInitialHash(initialPayload):
return hashlib.sha512(initialPayload).digest()