From b49f1f1b54f113d41a3e7939b9da08ddb69d3c87 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Tue, 26 Feb 2019 18:26:15 -0300 Subject: [PATCH] fix imports --- lbrynet/schema/claim.py | 2 +- lbrynet/schema/fee.py | 2 +- lbrynet/schema/schema/certificate.py | 2 +- lbrynet/schema/schema/claim.py | 2 +- lbrynet/schema/schema/fee.py | 2 +- lbrynet/schema/schema/metadata.py | 2 +- lbrynet/schema/schema/signature.py | 2 +- lbrynet/schema/schema/source.py | 2 +- lbrynet/schema/schema/stream.py | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lbrynet/schema/claim.py b/lbrynet/schema/claim.py index 5576aea53..03e0f1ed6 100644 --- a/lbrynet/schema/claim.py +++ b/lbrynet/schema/claim.py @@ -6,7 +6,7 @@ from google.protobuf.message import DecodeError as DecodeError_pb # pylint: dis from collections import OrderedDict from lbrynet.schema.schema.claim import Claim -from lbrynet.schema.proto import claim_pb2 +from lbrynet.schema.proto2 import claim_pb2 from lbrynet.schema.signature import Signature from lbrynet.schema.validator import get_validator from lbrynet.schema.signer import get_signer diff --git a/lbrynet/schema/fee.py b/lbrynet/schema/fee.py index 4c3bb3447..a0bd45c03 100644 --- a/lbrynet/schema/fee.py +++ b/lbrynet/schema/fee.py @@ -3,7 +3,7 @@ from collections import OrderedDict from lbrynet.schema.address import encode_address, decode_address from lbrynet.schema.schema import CURRENCY_NAMES, CURRENCY_MAP from lbrynet.schema.schema.fee import Fee as FeeHelper -from lbrynet.schema.proto import fee_pb2 +from lbrynet.schema.proto2 import fee_pb2 def migrate(fee): diff --git a/lbrynet/schema/schema/certificate.py b/lbrynet/schema/schema/certificate.py index 5bdaf2a35..a16153e83 100644 --- a/lbrynet/schema/schema/certificate.py +++ b/lbrynet/schema/schema/certificate.py @@ -1,6 +1,6 @@ from copy import deepcopy -from lbrynet.schema.proto import certificate_pb2 as cert_pb +from lbrynet.schema.proto2 import certificate_pb2 as cert_pb from lbrynet.schema.schema.schema import Schema from lbrynet.schema.schema import VERSION_MAP, V_0_0_1, ECDSA_CURVES, CURVE_NAMES from lbrynet.schema.validator import get_key_type_from_dem diff --git a/lbrynet/schema/schema/claim.py b/lbrynet/schema/schema/claim.py index 0e9052e7d..4ad278378 100644 --- a/lbrynet/schema/schema/claim.py +++ b/lbrynet/schema/schema/claim.py @@ -1,6 +1,6 @@ from copy import deepcopy -from lbrynet.schema.proto import claim_pb2 as claim_pb +from lbrynet.schema.proto2 import claim_pb2 as claim_pb from lbrynet.schema.schema import VERSION_MAP from lbrynet.schema.schema.signature import Signature from lbrynet.schema.schema.certificate import Certificate diff --git a/lbrynet/schema/schema/fee.py b/lbrynet/schema/schema/fee.py index f91389455..6dc02daff 100644 --- a/lbrynet/schema/schema/fee.py +++ b/lbrynet/schema/schema/fee.py @@ -1,7 +1,7 @@ from copy import deepcopy from lbrynet.schema.schema.schema import Schema -from lbrynet.schema.proto import fee_pb2 as fee_pb +from lbrynet.schema.proto2 import fee_pb2 as fee_pb from lbrynet.schema.schema import VERSION_MAP, CURRENCY_MAP diff --git a/lbrynet/schema/schema/metadata.py b/lbrynet/schema/schema/metadata.py index edbf298a9..f33d8725d 100644 --- a/lbrynet/schema/schema/metadata.py +++ b/lbrynet/schema/schema/metadata.py @@ -1,5 +1,5 @@ from copy import deepcopy -from lbrynet.schema.proto import metadata_pb2 as metadata_pb +from lbrynet.schema.proto2 import metadata_pb2 as metadata_pb from lbrynet.schema.schema.fee import Fee from lbrynet.schema.schema.schema import Schema from lbrynet.schema.schema import VERSION_MAP diff --git a/lbrynet/schema/schema/signature.py b/lbrynet/schema/schema/signature.py index 90190a142..14d428108 100644 --- a/lbrynet/schema/schema/signature.py +++ b/lbrynet/schema/schema/signature.py @@ -1,6 +1,6 @@ from copy import deepcopy -from lbrynet.schema.proto import signature_pb2 as signature_pb +from lbrynet.schema.proto2 import signature_pb2 as signature_pb from lbrynet.schema.schema import VERSION_MAP, ECDSA_CURVES from lbrynet.schema.schema.schema import Schema diff --git a/lbrynet/schema/schema/source.py b/lbrynet/schema/schema/source.py index 0b90b4eab..c7aeee729 100644 --- a/lbrynet/schema/schema/source.py +++ b/lbrynet/schema/schema/source.py @@ -1,5 +1,5 @@ from copy import deepcopy -from lbrynet.schema.proto import source_pb2 as source_pb +from lbrynet.schema.proto2 import source_pb2 as source_pb from lbrynet.schema.schema import SOURCE_TYPES, LBRY_SD_HASH_LENGTH, VERSION_MAP from lbrynet.schema.schema.schema import Schema from lbrynet.schema.error import InvalidSourceHashLength diff --git a/lbrynet/schema/schema/stream.py b/lbrynet/schema/schema/stream.py index 2fe955c4b..732503226 100644 --- a/lbrynet/schema/schema/stream.py +++ b/lbrynet/schema/schema/stream.py @@ -1,7 +1,7 @@ from copy import deepcopy from lbrynet.schema.schema.source import Source -from lbrynet.schema.proto import stream_pb2 as stream_pb +from lbrynet.schema.proto2 import stream_pb2 as stream_pb from lbrynet.schema.schema import VERSION_MAP from lbrynet.schema.schema.metadata import Metadata from lbrynet.schema.schema.schema import Schema