URI: 
       tcheck protocol too - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 4b985ab535175d85f74e3643ac9d2d5473cde658
   DIR parent 5669e2887b7c719310f337071e35a468db78ca5b
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Tue,  3 Apr 2012 19:03:58 +0200
       
       check protocol too
       
       Diffstat:
         M client/electrum4a.py                |      15 ++++++---------
         M client/wallet.py                    |       1 +
       
       2 files changed, 7 insertions(+), 9 deletions(-)
       ---
   DIR diff --git a/client/electrum4a.py b/client/electrum4a.py
       t@@ -230,8 +230,6 @@ settings_layout = """<?xml version="1.0" encoding="utf-8"?>
        
        
        
       -droid.addOptionsMenuItem("Settings","settings",None,"")
       -droid.addOptionsMenuItem("Quit","quit",None,"")
        
        
        def show_balance():
       t@@ -303,12 +301,16 @@ droid.dialogDismiss()
        droid.vibrate()
        
        
       +def add_menu():
       +    droid.addOptionsMenuItem("Settings","settings",None,"")
       +    droid.addOptionsMenuItem("Quit","quit",None,"")
       +
       +add_menu()
        
       -def main_loop():
        
       +def main_loop():
            droid.fullShow(main_layout)
            show_balance()
       -
            out = None
            while out is None:
        
       t@@ -340,7 +342,6 @@ def main_loop():
                #    if event["data"]=="destroy":
                #        out = 'exit'
        
       -    #droid.fullDismiss()
            return out
                            
        def payto_loop():
       t@@ -389,7 +390,6 @@ def payto_loop():
                #    if event["data"]=="destroy":
                #        out = 'main'
        
       -    #droid.fullDismiss()
            return out
        
        
       t@@ -414,9 +414,6 @@ def history_loop():
                #    if event["data"]=="destroy":
                #        out = 'main'
        
       -    #droid.fullQuery()
       -    #print "Data entered =",droid.fullQueryDetail("editText1").result
       -    #droid.fullDismiss()
            return out
        
        def server_dialog(plist):
   DIR diff --git a/client/wallet.py b/client/wallet.py
       t@@ -298,6 +298,7 @@ class Wallet:
                # raise an error if the format isnt correct
                a,b,c = server.split(':')
                b = int(b)
       +        assert c in ['t','h','n']
                # set the server
                if server != self.server:
                    self.server = server