DataViews/PyProfileDialog.py

changeset 539
87f9bce38a44
parent 537
72b32daeb8d6
child 791
9ec2ac20e54e
equal deleted inserted replaced
538:7f1a56e80124 539:87f9bce38a44
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()

eric ide

mercurial