206 """ |
206 """ |
207 self.basename = os.path.splitext(pfn)[0] |
207 self.basename = os.path.splitext(pfn)[0] |
208 |
208 |
209 fname = "{0}.profile".format(self.basename) |
209 fname = "{0}.profile".format(self.basename) |
210 if not os.path.exists(fname): |
210 if not os.path.exists(fname): |
211 QMessageBox.warning(None, |
211 E5MessageBox.warning(self, |
212 self.trUtf8("Profile Results"), |
212 self.trUtf8("Profile Results"), |
213 self.trUtf8("""<p>There is no profiling data""" |
213 self.trUtf8("""<p>There is no profiling data""" |
214 """ available for <b>{0}</b>.</p>""") |
214 """ available for <b>{0}</b>.</p>""") |
215 .format(pfn)) |
215 .format(pfn)) |
216 self.close() |
216 self.close() |