URI: 
       tRemove a name-clashing unnecessary local variable - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit ed3c0a546982dd74ca850e9ae528a241be4aebe2
   DIR parent 0f70d0b8a58340481dd0aa00a0f9b6e69a8bbdcf
  HTML Author: Neil Booth <kyuupichan@gmail.com>
       Date:   Tue, 29 Dec 2015 23:08:10 +0900
       
       Remove a name-clashing unnecessary local variable
       
       Diffstat:
         M lib/plugins.py                      |       7 +------
       
       1 file changed, 1 insertion(+), 6 deletions(-)
       ---
   DIR diff --git a/lib/plugins.py b/lib/plugins.py
       t@@ -98,11 +98,7 @@ class Plugins(DaemonThread):
                        __import__(dep)
                    except ImportError:
                        return False
       -        wallet_types = d.get('requires_wallet_type')
       -        if wallet_types:
       -            if w.wallet_type not in wallet_types:
       -                return False
       -        return True
       +        return w.wallet_type in d.get('requires_wallet_type', [])
        
            def wallet_plugin_loader(self, config, name):
                if self.plugins.get(name) is None:
       t@@ -202,4 +198,3 @@ class BasePlugin(PrintError):
        
            def settings_dialog(self):
                pass
       -