From f7dfffd30f692d50b308699e8d17409f76bd5f45 Mon Sep 17 00:00:00 2001 From: valesi Date: Thu, 28 Jan 2016 14:05:36 -0800 Subject: [PATCH] Minor fixes - indentation and lone `self.` https://github.com/spesmilo/electrum/blob/6ba43637f58b312e27df514fdf3ec54d430504e0/electrum#L57 has tab instead of spaces. https://github.com/spesmilo/electrum/blob/6ba43637f58b312e27df514fdf3ec54d430504e0/gui/kivy/nfc_scanner/scanner_android.py#L118 has lone `self.` --- electrum | 2 +- gui/kivy/nfc_scanner/scanner_android.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/electrum b/electrum index b1f697d3..ced72019 100755 --- a/electrum +++ b/electrum @@ -54,7 +54,7 @@ def check_imports(): try: from ecdsa.ecdsa import curve_secp256k1, generator_secp256k1 except Exception: - sys.exit("cannot import ecdsa.curve_secp256k1. You probably need to upgrade ecdsa.\nTry: sudo pip install --upgrade ecdsa") + sys.exit("cannot import ecdsa.curve_secp256k1. You probably need to upgrade ecdsa.\nTry: sudo pip install --upgrade ecdsa") # make sure that certificates are here assert os.path.exists(requests.utils.DEFAULT_CA_BUNDLE_PATH) diff --git a/gui/kivy/nfc_scanner/scanner_android.py b/gui/kivy/nfc_scanner/scanner_android.py index 059789da..5ca87fa1 100644 --- a/gui/kivy/nfc_scanner/scanner_android.py +++ b/gui/kivy/nfc_scanner/scanner_android.py @@ -115,7 +115,6 @@ class ScannerAndroid(NFCBase): #print 'length', length # will contain the NDEF record types recTypes = [] - self. for record in ndefrecords: recTypes.append({ 'type': ''.join(map(unichr, record.getType())),