From 107e75b4690f58b2ec306a15bcbea7846d5b41de Mon Sep 17 00:00:00 2001 From: David Rosca Date: Sat, 1 Jun 2019 10:26:33 +0200 Subject: [PATCH] Hello Python: Remove semicolons from sidebar.py (E703) Reviewers: #falkon, cullmann Reviewed By: #falkon, cullmann Subscribers: cullmann, falkon Tags: #falkon Differential Revision: https://phabricator.kde.org/D21386 --- src/scripts/hellopython/sidebar.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/scripts/hellopython/sidebar.py b/src/scripts/hellopython/sidebar.py index e6986ba39..a1c79cc38 100644 --- a/src/scripts/hellopython/sidebar.py +++ b/src/scripts/hellopython/sidebar.py @@ -30,11 +30,11 @@ class HelloSidebar(Falkon.SideBarInterface): def createSideBarWidget(self, window): w = QtWidgets.QWidget() - b = QtWidgets.QPushButton("Hello Python v0.0.1"); + b = QtWidgets.QPushButton("Hello Python v0.0.1") label = QtWidgets.QLabel() - label.setPixmap(QtGui.QPixmap(":icons/other/about.svg")); - l = QtWidgets.QVBoxLayout(w); - l.addWidget(label); - l.addWidget(b); - w.setLayout(l); + label.setPixmap(QtGui.QPixmap(":icons/other/about.svg")) + l = QtWidgets.QVBoxLayout(w) + l.addWidget(label) + l.addWidget(b) + w.setLayout(l) return w