commit 2b96b6dec1730c4969cd8a8f4e76e3cef6e819f9
parent 9fc4e1a1b10a486d8c56d8c08f1d86d23dfd2e5e
Author: Amir Taaki <genjix@riseup.net>
Date: Thu, 23 Aug 2012 10:06:21 +0100
Unneeded exception raised. sys.exit returns before exception ever gets a chance to be thrown.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum b/electrum
@@ -167,7 +167,7 @@ if __name__ == '__main__':
except ImportError:
import electrum.gui_lite as gui
else:
- raise NameError(sys.exit("Error: Unknown GUI: " + options.gui))
+ sys.exit("Error: Unknown GUI: " + options.gui)
gui = gui.ElectrumGui(wallet)
WalletSynchronizer(wallet,True).start()