History

perf scripts python: exported-sql-viewer.py: Remove no selection error

If no selection is made on the 'Selected branches' dialog, then the output is the same as the 'All branches' report. That is not really an error, and is not desirable for future reports, so remove it.

Adrian Hunter committed 7 years ago

Commit fc2c77a1 parent 0d5f8f21 file · +0 −3Browse files

Showing the changes to tools/perf/scripts/python (1 of 1 file). Show all

Unified · Split

tools/perf/scripts/python/exported-sql-viewer.py+0−3
@@ -1808,9 +1808,6 @@ class ReportDialogBase(QDialog): · 1807 unmodified lines
18081808 vars.where_clause = " AND ( " + vars.where_clause + " ) "
18091809 else:
18101810 vars.where_clause = " WHERE " + vars.where_clause + " "
1811− else:
1812− self.ShowMessage("No selection")
1813− return
18141811 self.accept()
18151812
18161813 def ShowMessage(self, msg):