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
1808 vars.where_clause = " AND ( " + vars.where_clause + " ) "1808 vars.where_clause = " AND ( " + vars.where_clause + " ) "
1809 else:1809 else:
1810 vars.where_clause = " WHERE " + vars.where_clause + " "1810 vars.where_clause = " WHERE " + vars.where_clause + " "
1811 else:
1812 self.ShowMessage("No selection")
1813 return
1814 self.accept()1811 self.accept()
1815 1812
1816 def ShowMessage(self, msg):1813 def ShowMessage(self, msg):