[yt-svn] commit/yt: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Tue Sep 16 19:17:45 PDT 2014
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/7ef3a515ccb3/
Changeset: 7ef3a515ccb3
Branch: yt
User: MatthewTurk
Date: 2014-09-16 15:47:58+00:00
Summary: Make sure we can quit out of the memory checker.
Affected #: 1 file
diff -r d57edec9dcd80913a6610dc84e6d1c1ac6b0b710 -r 7ef3a515ccb34e2fa5faaf5ea02c5edf7aede864 yt/funcs.py
--- a/yt/funcs.py
+++ b/yt/funcs.py
@@ -732,8 +732,11 @@
e = threading.Event()
mem_check = MemoryChecker(e, interval)
mem_check.start()
- yield
- e.set()
+ try:
+ yield
+ finally:
+ e.set()
+
def deprecated_class(cls):
@wraps(cls)
https://bitbucket.org/yt_analysis/yt/commits/c7ff1e9f7257/
Changeset: c7ff1e9f7257
Branch: yt
User: xarthisius
Date: 2014-09-17 02:17:38+00:00
Summary: Merged in MatthewTurk/yt (pull request #1208)
[BUGFIX] Make sure we can quit out of the memory checker.
Affected #: 1 file
diff -r 6f0db65e21bcabd8283cadb52e30b6c1ed9a4afc -r c7ff1e9f725774c2a2cdc757755ada9ec752386a yt/funcs.py
--- a/yt/funcs.py
+++ b/yt/funcs.py
@@ -732,8 +732,11 @@
e = threading.Event()
mem_check = MemoryChecker(e, interval)
mem_check.start()
- yield
- e.set()
+ try:
+ yield
+ finally:
+ e.set()
+
def deprecated_class(cls):
@wraps(cls)
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list