DebugClients/Python3/PyProfile.py

changeset 4563
881340f4bd0c
parent 4543
2e6a880670e9
child 4631
5c1a96925da4
--- a/DebugClients/Python3/PyProfile.py	Sun Nov 15 13:31:39 2015 +0100
+++ b/DebugClients/Python3/PyProfile.py	Sun Nov 15 13:52:29 2015 +0100
@@ -53,7 +53,7 @@
             timings = marshal.load(cache)
             if isinstance(timings, dict):
                 self.timings = timings
-        except:
+        except Exception:
             pass
         finally:
             cache.close()
@@ -66,7 +66,7 @@
         try:
             cache = open(self.timingCache, 'wb')
             marshal.dump(self.timings, cache)
-        except:
+        except Exception:
             pass
         finally:
             cache.close()

eric ide

mercurial