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.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Adrian Hunter authored and Arnaldo Carvalho de Melo committed 2019-02-22 16:52:07 -03:00
1 parent 0d5f8f230c
commit fc2c77aa84
1 file changed
-3
@@ -1808,9 +1808,6 @@ class ReportDialogBase(QDialog):
vars.where_clause = " AND ( " + vars.where_clause + " ) "
else:
vars.where_clause = " WHERE " + vars.where_clause + " "
else:
self.ShowMessage("No selection")
return
self.accept()
def ShowMessage(self, msg):