tpaymentrequest upd - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 21101386a2754d52f4273247fdeb234abc810f28
DIR parent 362ca96f382afd8f8cdb31c123df930eca461f49
HTML Author: Dmitry Sorokin <asfins@gmail.com>
Date: Sun, 5 Feb 2017 14:14:46 +0300
paymentrequest upd
Diffstat:
M lib/paymentrequest.py | 5 +----
M lib/paymentrequest_pb2.py | 168 ++++++++++++++++++-------------
2 files changed, 100 insertions(+), 73 deletions(-)
---
DIR diff --git a/lib/paymentrequest.py b/lib/paymentrequest.py
t@@ -42,10 +42,7 @@ from six.moves import urllib_parse
try:
- if six.PY3:
- from . import paymentrequest_pb2_py3 as pb2
- else:
- from . import paymentrequest_pb2 as pb2
+ from . import paymentrequest_pb2 as pb2
except ImportError:
sys.exit("Error: could not find paymentrequest_pb2.py. Create it with 'protoc --proto_path=lib/ --python_out=lib/ lib/paymentrequest.proto'")
DIR diff --git a/lib/paymentrequest_pb2.py b/lib/paymentrequest_pb2.py
t@@ -1,39 +1,48 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
-
-from google.protobuf import descriptor
-from google.protobuf import message
-from google.protobuf import reflection
+# source: paymentrequest.proto
+
+import sys
+_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
+from google.protobuf import descriptor as _descriptor
+from google.protobuf import message as _message
+from google.protobuf import reflection as _reflection
+from google.protobuf import symbol_database as _symbol_database
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)
+_sym_db = _symbol_database.Default()
+
+
-DESCRIPTOR = descriptor.FileDescriptor(
+DESCRIPTOR = _descriptor.FileDescriptor(
name='paymentrequest.proto',
package='payments',
parazyd.org:70 /git/electrum/commit/21101386a2754d52f4273247fdeb234abc810f28.gph:61: line too long