Make pylint happy
This commit is contained in:
parent
d155787e7c
commit
1afd46da6b
@ -168,6 +168,7 @@ class TemplateModel(PyQt5.QtCore.QAbstractItemModel):
|
||||
return index == PyQt5.QtCore.QModelIndex()
|
||||
|
||||
def data(self, index, role=PyQt5.QtCore.Qt.DisplayRole):
|
||||
# pylint: disable=too-many-return-statements
|
||||
if index.isValid():
|
||||
data = self.children[index.row()][index.column()]
|
||||
if role == PyQt5.QtCore.Qt.DisplayRole:
|
||||
|
@ -631,9 +631,10 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtWidgets.QDialog):
|
||||
QtWidgets.QMessageBox.warning(
|
||||
self,
|
||||
self.tr("Warning!"),
|
||||
self.tr("Connecting a TemplateVM directly to a network is highly"
|
||||
" discouraged! <br> <small>You are breaking a basic par"
|
||||
"t of Qubes security and there is probably no real need"
|
||||
self.tr(
|
||||
"Connecting a TemplateVM directly to a network is highly"
|
||||
" discouraged! <br> <small>You are breaking a basic part "
|
||||
"of Qubes security and there is probably no real need"
|
||||
" to do so. Continue at your own risk.</small>"))
|
||||
|
||||
def check_warn_dispvmnetvm(self):
|
||||
|
Loading…
Reference in New Issue
Block a user