URI: 
       tpython3 updates - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit d8e37644d3d2004d1d7fc909a5f73133062a7cbc
   DIR parent cea705b153d42aa30308a65e14664221a1d31f2d
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Sat, 12 Aug 2017 21:26:57 +0200
       
       python3 updates
       
       Diffstat:
         M lib/coinchooser.py                  |       2 +-
         M plugins/trustedcoin/trustedcoin.py  |       4 ++--
       
       2 files changed, 3 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/lib/coinchooser.py b/lib/coinchooser.py
       t@@ -68,7 +68,7 @@ class PRNG:
                return seq[self.randint(0, len(seq))]
        
            def shuffle(self, x):
       -        for i in reversed(xrange(1, len(x))):
       +        for i in reversed(range(1, len(x))):
                    # pick an element in x[:i+1] with which to exchange x[i]
                    j = self.randint(0, i+1)
                    x[i], x[j] = x[j], x[i]
   DIR diff --git a/plugins/trustedcoin/trustedcoin.py b/plugins/trustedcoin/trustedcoin.py
       t@@ -29,8 +29,8 @@ import re
        import requests
        import json
        from hashlib import sha256
       -from urlparse import urljoin
       -from urllib import quote
       +from urllib.parse import urljoin
       +from urllib.parse import quote
        
        import electrum
        from electrum import bitcoin