From c713fac2d9d8839b44fd0897bee1d6cb7b6fb1be Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Tue, 22 Jan 2019 12:55:02 -0500 Subject: [PATCH] lbrynet.error --- lbrynet/{p2p/Error.py => error.py} | 2 +- lbrynet/extras/daemon/exchange_rate_manager.py | 2 +- lbrynet/extras/wallet/resolve.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename lbrynet/{p2p/Error.py => error.py} (99%) diff --git a/lbrynet/p2p/Error.py b/lbrynet/error.py similarity index 99% rename from lbrynet/p2p/Error.py rename to lbrynet/error.py index 271631fde..33e36aaef 100644 --- a/lbrynet/p2p/Error.py +++ b/lbrynet/error.py @@ -10,7 +10,7 @@ class DuplicateStreamHashError(Exception): pass -class DownloadCanceledError(Exception): +class DownloadCancelledError(Exception): pass diff --git a/lbrynet/extras/daemon/exchange_rate_manager.py b/lbrynet/extras/daemon/exchange_rate_manager.py index 0a6eac513..30121729a 100644 --- a/lbrynet/extras/daemon/exchange_rate_manager.py +++ b/lbrynet/extras/daemon/exchange_rate_manager.py @@ -4,7 +4,7 @@ import time import logging import json -from lbrynet.p2p.Error import InvalidExchangeRateResponse, CurrencyConversionError +from lbrynet.error import InvalidExchangeRateResponse, CurrencyConversionError log = logging.getLogger(__name__) diff --git a/lbrynet/extras/wallet/resolve.py b/lbrynet/extras/wallet/resolve.py index 2a74afcf1..1baadb265 100644 --- a/lbrynet/extras/wallet/resolve.py +++ b/lbrynet/extras/wallet/resolve.py @@ -3,7 +3,7 @@ import logging from ecdsa import BadSignatureError from binascii import unhexlify, hexlify from lbrynet.extras.wallet.dewies import dewies_to_lbc -from lbrynet.p2p.Error import UnknownNameError, UnknownClaimID, UnknownURI, UnknownOutpoint +from lbrynet.error import UnknownNameError, UnknownClaimID, UnknownURI, UnknownOutpoint from lbrynet.schema.address import is_address from lbrynet.schema.claim import ClaimDict from lbrynet.schema.decode import smart_decode