commit d66673eca2b0637aea925798316bf9b31e11cb76
parent 66ede2e03ea84e5dda4279bda94840a26edecdb6
Author: Jimbo77 <onlineregular@gmail.com>
Date: Sun, 19 Aug 2012 19:59:05 -0700
more print_errors() deleted
Diffstat:
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/lib/gui_qt.py b/lib/gui_qt.py
@@ -23,9 +23,7 @@ from util import print_error
try:
import PyQt4
except:
- print_error("Error: Could not import PyQt4")
- print_error("on Linux systems, you may try 'sudo apt-get install python-qt4'")
- sys.exit(1)
+ sys.exit("Error: Could not import PyQt4 on Linux systems, you may try 'sudo apt-get install python-qt4'")
from PyQt4.QtGui import *
from PyQt4.QtCore import *
@@ -36,9 +34,7 @@ from interface import DEFAULT_SERVERS
try:
import icons_rc
except:
- print_error("Error: Could not import icons_rc.py")
- print_error("Please generate it with: 'pyrcc4 icons.qrc -o lib/icons_rc.py'")
- sys.exit(1)
+ sys.exit("Error: Could not import icons_rc.py, please generate it with: 'pyrcc4 icons.qrc -o lib/icons_rc.py'")
from wallet import format_satoshis
import bmp, mnemonic, pyqrnative, qrscanner