electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit afcc37ec34645d8835f7efa0204e843c163d9d29
parent f22f8c614f0a0b87c38bc3f0b962722c6cadf4ba
Author: ThomasV <thomasv@electrum.org>
Date:   Fri, 13 Oct 2017 10:55:18 +0200

Merge pull request #3026 from SomberNight/missing_import_stat

fix: missing import 'stat' in network.py and simple_config.py
Diffstat:
Mlib/network.py | 1+
Mlib/simple_config.py | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/network.py b/lib/network.py @@ -29,6 +29,7 @@ from __future__ import unicode_literals import time import queue import os +import stat import errno import sys import random diff --git a/lib/simple_config.py b/lib/simple_config.py @@ -7,6 +7,7 @@ import ast import json import threading import os +import stat from copy import deepcopy from .util import user_dir, print_error, print_msg, print_stderr, PrintError @@ -147,7 +148,6 @@ class SimpleConfig(PrintError): f.write(s) f.close() if 'ANDROID_DATA' not in os.environ: - import stat os.chmod(path, stat.S_IREAD | stat.S_IWRITE) def get_wallet_path(self):