|
@@ -1,6 +1,5 @@
|
|
|
-#!/usr/bin/python2
|
|
|
+#!/usr/bin/python3
|
|
|
# coding=utf-8
|
|
|
-# pylint: skip-file
|
|
|
#
|
|
|
# The Qubes OS Project, http://www.qubes-os.org
|
|
|
#
|
|
@@ -21,17 +20,19 @@
|
|
|
# with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
|
#
|
|
|
#
|
|
|
-from PyQt4.QtCore import SIGNAL
|
|
|
-from PyQt4.QtGui import QDialog, QIcon
|
|
|
+from PyQt4.QtGui import QDialog # pylint: disable=import-error
|
|
|
|
|
|
-from .ui_informationnotes import *
|
|
|
+from . import ui_informationnotes # pylint: disable=no-name-in-module
|
|
|
import subprocess
|
|
|
|
|
|
|
|
|
-class InformationNotesDialog(Ui_InformationNotesDialog, QDialog):
|
|
|
+class InformationNotesDialog(ui_informationnotes.Ui_InformationNotesDialog,
|
|
|
+ QDialog):
|
|
|
+ # pylint: disable=too-few-public-methods
|
|
|
def __init__(self):
|
|
|
super(InformationNotesDialog, self).__init__()
|
|
|
|
|
|
self.setupUi(self)
|
|
|
- details = subprocess.check_output(['/usr/libexec/qubes-manager/qvm_about.sh'])
|
|
|
- self.informationNotes.setText(details)
|
|
|
+ details = subprocess.check_output(
|
|
|
+ ['/usr/libexec/qubes-manager/qvm_about.sh'])
|
|
|
+ self.informationNotes.setText(details.decode())
|