Travis CI: Use flake8 to find Python syntax errors and undefined names (#5467)
This commit is contained in:
committed by
ghost43
parent
9eebb306f2
commit
e34afd62ce
@@ -47,7 +47,7 @@ class Ledger_Handler(QtHandlerBase):
|
||||
else:
|
||||
self.word = str(response[0])
|
||||
self.done.set()
|
||||
|
||||
|
||||
def message_dialog(self, msg):
|
||||
self.clear_dialog()
|
||||
self.dialog = dialog = WindowModalDialog(self.top_level_window(), _("Ledger Status"))
|
||||
@@ -66,18 +66,18 @@ class Ledger_Handler(QtHandlerBase):
|
||||
dialog.exec_()
|
||||
self.word = dialog.pin
|
||||
self.done.set()
|
||||
|
||||
|
||||
def get_auth(self, data):
|
||||
self.done.clear()
|
||||
self.auth_signal.emit(data)
|
||||
self.done.wait()
|
||||
return self.word
|
||||
|
||||
|
||||
def get_setup(self):
|
||||
self.done.clear()
|
||||
self.setup_signal.emit()
|
||||
self.done.wait()
|
||||
return
|
||||
|
||||
return
|
||||
|
||||
def setup_dialog(self):
|
||||
self.show_error(_('Initialization of Ledger HW devices is currently disabled.'))
|
||||
|
||||
Reference in New Issue
Block a user