forked from LBRYCommunity/lbry-sdk
pylint
This commit is contained in:
parent
15879e87f5
commit
5ece58b716
1 changed files with 2 additions and 1 deletions
|
@ -489,7 +489,8 @@ class Daemon(AuthJSONRPCServer):
|
||||||
|
|
||||||
if old_revision > self.current_db_revision:
|
if old_revision > self.current_db_revision:
|
||||||
raise Exception('This version of lbrynet is not compatible with the database\n'
|
raise Exception('This version of lbrynet is not compatible with the database\n'
|
||||||
'Your database is revision %i, expected %i' % (old_revision, self.current_db_revision))
|
'Your database is revision %i, expected %i' %
|
||||||
|
(old_revision, self.current_db_revision))
|
||||||
|
|
||||||
def update_version_file_and_print_success():
|
def update_version_file_and_print_success():
|
||||||
self._write_db_revision_file(self.current_db_revision)
|
self._write_db_revision_file(self.current_db_revision)
|
||||||
|
|
Loading…
Reference in a new issue