forked from LBRYCommunity/lbry-sdk
whitespace
This commit is contained in:
parent
5bccfdb244
commit
59c4593bf4
3 changed files with 3 additions and 3 deletions
|
@ -151,4 +151,4 @@ class RateLimiter(object):
|
||||||
|
|
||||||
def unregister_protocol(self, protocol):
|
def unregister_protocol(self, protocol):
|
||||||
if protocol in self.protocols:
|
if protocol in self.protocols:
|
||||||
self.protocols.remove(protocol)
|
self.protocols.remove(protocol)
|
||||||
|
|
|
@ -51,4 +51,4 @@ class DHTPeerFinder(object):
|
||||||
return d
|
return d
|
||||||
|
|
||||||
def get_most_popular_hashes(self, num_to_return):
|
def get_most_popular_hashes(self, num_to_return):
|
||||||
return self.dht_node.get_most_popular_hashes(num_to_return)
|
return self.dht_node.get_most_popular_hashes(num_to_return)
|
||||||
|
|
|
@ -243,4 +243,4 @@ class EncryptedFileManager(object):
|
||||||
@rerun_if_locked
|
@rerun_if_locked
|
||||||
def _get_count_for_stream_hash(self, stream_hash):
|
def _get_count_for_stream_hash(self, stream_hash):
|
||||||
return self.sql_db.runQuery("select count(*) from lbry_file_options where stream_hash = ?",
|
return self.sql_db.runQuery("select count(*) from lbry_file_options where stream_hash = ?",
|
||||||
(stream_hash,))
|
(stream_hash,))
|
||||||
|
|
Loading…
Reference in a new issue