forked from LBRYCommunity/lbry-sdk
fix formatting
This commit is contained in:
parent
3a3a9b5f4e
commit
2c73c80c9f
1 changed files with 12 additions and 10 deletions
|
@ -41,7 +41,6 @@ from lbry.wallet.dewies import dewies_to_lbc, lbc_to_dewies
|
|||
from lbry.schema.claim import Claim
|
||||
from lbry.schema.url import URL
|
||||
|
||||
|
||||
if typing.TYPE_CHECKING:
|
||||
from lbry.blob.blob_manager import BlobManager
|
||||
from lbry.dht.node import Node
|
||||
|
@ -72,7 +71,9 @@ def requires(*components, **conditions):
|
|||
raise ComponentsNotStarted("the following required components have not yet started: "
|
||||
"%s" % json.dumps(components))
|
||||
return fn(*args, **kwargs)
|
||||
|
||||
return _inner
|
||||
|
||||
return _wrap
|
||||
|
||||
|
||||
|
@ -81,6 +82,7 @@ def deprecated(new_command=None):
|
|||
f.new_command = new_command
|
||||
f._deprecated = True
|
||||
return f
|
||||
|
||||
return _deprecated_wrapper
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue