tDidn't need a seperate variable just for string - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 407070bba0c7a7f174e1f6db6d8f94f6edeb7911 DIR parent cb67ec4454aecbd55151c7200c1e005da1627e57 HTML Author: Jimbo77 <onlineregular@gmail.com> Date: Thu, 23 Aug 2012 17:59:54 -0700 Didn't need a seperate variable just for string Diffstat: M lib/wallet.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -679,7 +679,6 @@ class Wallet: '''Read the contents of the wallet file.''' import interface - upgrade_msg = """This wallet seed is deprecated. Please run upgrade.py for a diagnostic.""" self.file_exists = False try: f = open(self.path,"r") t@@ -720,7 +719,7 @@ class Wallet: self.update_tx_history() if self.seed_version != SEED_VERSION: - raise BaseException(upgrade_msg) + raise ValueError("This wallet seed is deprecated. Please run upgrade.py for a diagnostic.") if self.remote_url: assert self.master_public_key.encode('hex') == self.get_remote_mpk()