src/eric7/DataViews/PyProfileDialog.py

branch
eric7
changeset 10050
3750abc45d5e
parent 9653
e67609152c5e
child 10071
a74e32fa4d23
equal deleted inserted replaced
10049:61a1757626ac 10050:3750abc45d5e
260 self.close() 260 self.close()
261 return 261 return
262 try: 262 try:
263 with open(fname, "rb") as f: 263 with open(fname, "rb") as f:
264 self.stats = pickle.load(f) # secok 264 self.stats = pickle.load(f) # secok
265 except (OSError, pickle.PickleError, EOFError): 265 except (EOFError, OSError, pickle.PickleError):
266 EricMessageBox.critical( 266 EricMessageBox.critical(
267 self, 267 self,
268 self.tr("Loading Profiling Data"), 268 self.tr("Loading Profiling Data"),
269 self.tr( 269 self.tr(
270 """<p>The profiling data could not be""" 270 """<p>The profiling data could not be"""

eric ide

mercurial