http://mmgen-wallet.i2p/project/mmgen/mmgen-wallet/commit/35ddbc029c29e0d04fb444b9e4481f269d84e34a
% outfile) - try: - f = open(outfile,'w') - except: - msg("Failed to open file '%s' for writing" % outfile) - sys.exit(2) + f = open_file_or_exit(outfile,'w') try: f.write(data) @@ -446,12 +485,12 @@ def col4(s): nondiv = 1 if len(s) % 4 else 0 return " ".join([s[4*i:4*i+4] for i in range(len(s)/4 + nondiv)]) - -def write_wallet_to_file(seed, passwd, key_id, salt, enc_seed, opts): - +def make_timestamp(): import time tv = time.gmtime(time.time())[:6] - ts_hdr =...