diff --git a/qubesmanager/qvm_template_gui.py b/qubesmanager/qvm_template_gui.py
index 766a2e8..7372bf8 100644
--- a/qubesmanager/qvm_template_gui.py
+++ b/qubesmanager/qvm_template_gui.py
@@ -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:
diff --git a/qubesmanager/settings.py b/qubesmanager/settings.py
index a877bae..3612d0d 100644
--- a/qubesmanager/settings.py
+++ b/qubesmanager/settings.py
@@ -631,10 +631,11 @@ 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!
You are breaking a basic par"
- "t of Qubes security and there is probably no real need"
- " to do so. Continue at your own risk."))
+ self.tr(
+ "Connecting a TemplateVM directly to a network is highly"
+ " discouraged!
You are breaking a basic part "
+ "of Qubes security and there is probably no real need"
+ " to do so. Continue at your own risk."))
def check_warn_dispvmnetvm(self):
if not hasattr(self.vm, 'default_dispvm'):