Commit fc2c77aa authored by Adrian Hunter's avatar Adrian Hunter Committed by Arnaldo Carvalho de Melo

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: default avatarAdrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 0d5f8f23
...@@ -1808,9 +1808,6 @@ class ReportDialogBase(QDialog): ...@@ -1808,9 +1808,6 @@ class ReportDialogBase(QDialog):
vars.where_clause = " AND ( " + vars.where_clause + " ) " vars.where_clause = " AND ( " + vars.where_clause + " ) "
else: else:
vars.where_clause = " WHERE " + vars.where_clause + " " vars.where_clause = " WHERE " + vars.where_clause + " "
else:
self.ShowMessage("No selection")
return
self.accept() self.accept()
def ShowMessage(self, msg): def ShowMessage(self, msg):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment