perf scripts python: exported-sql-viewer.py: Remove redundant semi-colons

Remove redundant semi-colons added inadvertently.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20190710085810.1650-16-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Adrian Hunter 2019-07-10 11:58:04 +03:00 committed by Arnaldo Carvalho de Melo
parent d9efc1d252
commit 266887291c
1 changed files with 12 additions and 12 deletions

View File

@ -392,7 +392,7 @@ class FindBar():
self.hbox.addWidget(self.close_button) self.hbox.addWidget(self.close_button)
self.bar = QWidget() self.bar = QWidget()
self.bar.setLayout(self.hbox); self.bar.setLayout(self.hbox)
self.bar.hide() self.bar.hide()
def Widget(self): def Widget(self):
@ -470,7 +470,7 @@ class CallGraphLevelItemBase(object):
self.params = params self.params = params
self.row = row self.row = row
self.parent_item = parent_item self.parent_item = parent_item
self.query_done = False; self.query_done = False
self.child_count = 0 self.child_count = 0
self.child_items = [] self.child_items = []
if parent_item: if parent_item:
@ -517,7 +517,7 @@ class CallGraphLevelTwoPlusItemBase(CallGraphLevelItemBase):
self.time = time self.time = time
def Select(self): def Select(self):
self.query_done = True; self.query_done = True
query = QSqlQuery(self.glb.db) query = QSqlQuery(self.glb.db)
if self.params.have_ipc: if self.params.have_ipc:
ipc_str = ", SUM(insn_count), SUM(cyc_count)" ipc_str = ", SUM(insn_count), SUM(cyc_count)"
@ -604,7 +604,7 @@ class CallGraphLevelOneItem(CallGraphLevelItemBase):
self.dbid = comm_id self.dbid = comm_id
def Select(self): def Select(self):
self.query_done = True; self.query_done = True
query = QSqlQuery(self.glb.db) query = QSqlQuery(self.glb.db)
QueryExec(query, "SELECT thread_id, pid, tid" QueryExec(query, "SELECT thread_id, pid, tid"
" FROM comm_threads" " FROM comm_threads"
@ -622,7 +622,7 @@ class CallGraphRootItem(CallGraphLevelItemBase):
def __init__(self, glb, params): def __init__(self, glb, params):
super(CallGraphRootItem, self).__init__(glb, params, 0, None) super(CallGraphRootItem, self).__init__(glb, params, 0, None)
self.dbid = 0 self.dbid = 0
self.query_done = True; self.query_done = True
query = QSqlQuery(glb.db) query = QSqlQuery(glb.db)
QueryExec(query, "SELECT id, comm FROM comms") QueryExec(query, "SELECT id, comm FROM comms")
while query.next(): while query.next():
@ -793,7 +793,7 @@ class CallTreeLevelTwoPlusItemBase(CallGraphLevelItemBase):
self.time = time self.time = time
def Select(self): def Select(self):
self.query_done = True; self.query_done = True
if self.calls_id == 0: if self.calls_id == 0:
comm_thread = " AND comm_id = " + str(self.comm_id) + " AND thread_id = " + str(self.thread_id) comm_thread = " AND comm_id = " + str(self.comm_id) + " AND thread_id = " + str(self.thread_id)
else: else:
@ -881,7 +881,7 @@ class CallTreeLevelOneItem(CallGraphLevelItemBase):
self.dbid = comm_id self.dbid = comm_id
def Select(self): def Select(self):
self.query_done = True; self.query_done = True
query = QSqlQuery(self.glb.db) query = QSqlQuery(self.glb.db)
QueryExec(query, "SELECT thread_id, pid, tid" QueryExec(query, "SELECT thread_id, pid, tid"
" FROM comm_threads" " FROM comm_threads"
@ -899,7 +899,7 @@ class CallTreeRootItem(CallGraphLevelItemBase):
def __init__(self, glb, params): def __init__(self, glb, params):
super(CallTreeRootItem, self).__init__(glb, params, 0, None) super(CallTreeRootItem, self).__init__(glb, params, 0, None)
self.dbid = 0 self.dbid = 0
self.query_done = True; self.query_done = True
query = QSqlQuery(glb.db) query = QSqlQuery(glb.db)
QueryExec(query, "SELECT id, comm FROM comms") QueryExec(query, "SELECT id, comm FROM comms")
while query.next(): while query.next():
@ -971,7 +971,7 @@ class VBox():
def __init__(self, w1, w2, w3=None): def __init__(self, w1, w2, w3=None):
self.vbox = QWidget() self.vbox = QWidget()
self.vbox.setLayout(QVBoxLayout()); self.vbox.setLayout(QVBoxLayout())
self.vbox.layout().setContentsMargins(0, 0, 0, 0) self.vbox.layout().setContentsMargins(0, 0, 0, 0)
@ -1391,7 +1391,7 @@ class FetchMoreRecordsBar():
self.hbox.addWidget(self.close_button) self.hbox.addWidget(self.close_button)
self.bar = QWidget() self.bar = QWidget()
self.bar.setLayout(self.hbox); self.bar.setLayout(self.hbox)
self.bar.show() self.bar.show()
self.in_progress = False self.in_progress = False
@ -2206,7 +2206,7 @@ class ReportDialogBase(QDialog):
self.vbox.addLayout(self.grid) self.vbox.addLayout(self.grid)
self.vbox.addLayout(self.hbox) self.vbox.addLayout(self.hbox)
self.setLayout(self.vbox); self.setLayout(self.vbox)
def Ok(self): def Ok(self):
vars = self.report_vars vars = self.report_vars
@ -3139,7 +3139,7 @@ class AboutDialog(QDialog):
self.vbox = QVBoxLayout() self.vbox = QVBoxLayout()
self.vbox.addWidget(self.text) self.vbox.addWidget(self.text)
self.setLayout(self.vbox); self.setLayout(self.vbox)
# Font resize # Font resize