fix formatting

This commit is contained in:
Alex Grintsvayg 2019-10-04 09:52:29 -04:00
parent 3a3a9b5f4e
commit 2c73c80c9f
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5

View file

@ -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