Fixed: Addressed issues raised in PR
This commit is contained in:
parent
da87ae24ee
commit
9263026bc8
|
@ -6,8 +6,6 @@
|
|||
Initialise the QT interface
|
||||
"""
|
||||
|
||||
from debug import logger # pylint: disable=wrong-import-order
|
||||
|
||||
import hashlib
|
||||
import locale
|
||||
import os
|
||||
|
@ -18,6 +16,9 @@ import textwrap
|
|||
import time
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
import debug
|
||||
from debug import logger
|
||||
|
||||
|
||||
try:
|
||||
from PyQt4 import QtCore, QtGui
|
||||
|
@ -32,9 +33,8 @@ except ImportError:
|
|||
sys.exit()
|
||||
|
||||
|
||||
from sqlite3 import register_adapter
|
||||
from sqlite3 import register_adapter # pylint: disable=wrong-import-order
|
||||
|
||||
import debug # pylint: disable=ungrouped-imports
|
||||
import defaults
|
||||
import helper_search
|
||||
import knownnodes
|
||||
|
@ -644,7 +644,8 @@ class MyForm(settingsmixin.SMainWindow): # pylint: disable=too-many-public-meth
|
|||
displayMsg = _translate(
|
||||
"MainWindow",
|
||||
'One of your addresses, %1, is an old version 1 address. Version 1 addresses are no longer '
|
||||
'supported. May we delete it now?').arg(addressInKeysFile)
|
||||
'supported. May we delete it now?'
|
||||
).arg(addressInKeysFile)
|
||||
reply = QtGui.QMessageBox.question(
|
||||
self, 'Message', displayMsg, QtGui.QMessageBox.Yes, QtGui.QMessageBox.No)
|
||||
if reply == QtGui.QMessageBox.Yes:
|
||||
|
|
Loading…
Reference in New Issue
Block a user