tUnneeded exception raised. sys.exit returns before exception ever gets a chance to be thrown. - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 2b96b6dec1730c4969cd8a8f4e76e3cef6e819f9 DIR parent 9fc4e1a1b10a486d8c56d8c08f1d86d23dfd2e5e HTML 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: M electrum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum b/electrum t@@ -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()