electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 90316d0459257116935d7245d29b2b2d6a1166e3
parent cdcd4d72157fe473a5ae5b53efdd8d7021576f75
Author: Neil Booth <kyuupichan@gmail.com>
Date:   Wed,  2 Sep 2015 12:06:11 +0900

Clean up imports, 2nd attempt

Diffstat:
Mgui/qt/__init__.py | 14+++-----------
1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/gui/qt/__init__.py b/gui/qt/__init__.py @@ -17,12 +17,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. import sys -import time -import datetime -import re -import threading -import os.path, json, ast, traceback -import shutil +import os.path import signal try: @@ -35,17 +30,14 @@ from PyQt4.QtCore import * import PyQt4.QtCore as QtCore from electrum.i18n import _, set_language -from electrum.util import print_error, print_msg -from electrum.plugins import run_hook, always_hook -from electrum import WalletStorage, Wallet -from electrum.bitcoin import MIN_RELAY_TX_FEE +from electrum.plugins import run_hook try: import icons_rc except Exception: sys.exit("Error: Could not import icons_rc.py, please generate it with: 'pyrcc4 icons.qrc -o gui/qt/icons_rc.py'") -from util import * +from util import * # * needed for plugins from main_window import ElectrumWindow