[yt-svn] commit/yt: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Wed May 29 13:36:14 PDT 2013
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/b6b4af02eeca/
Changeset: b6b4af02eeca
Branch: yt
User: MatthewTurk
Date: 2013-05-29 19:43:22
Summary: Correcting help for RPDB debugging command.
Affected #: 1 file
diff -r e155fde14e4e4735782c5a5afffe52b65c9ba2b1 -r b6b4af02eeca3a1d165a8abfb579706c823fb253 yt/utilities/rpdb.py
--- a/yt/utilities/rpdb.py
+++ b/yt/utilities/rpdb.py
@@ -55,7 +55,7 @@
traceback.print_exception(exc_type, exc, tb)
task = ytcfg.getint("yt", "__global_parallel_rank")
size = ytcfg.getint("yt", "__global_parallel_size")
- print "Starting RPDB server on task %s ; connect with 'yt rpdb %s'" \
+ print "Starting RPDB server on task %s ; connect with 'yt rpdb -t %s'" \
% (task,task)
handler = pdb_handler(tb)
server = PdbXMLRPCServer(("localhost", 8010+task))
https://bitbucket.org/yt_analysis/yt/commits/31ee3fa3dbd2/
Changeset: 31ee3fa3dbd2
Branch: yt
User: MatthewTurk
Date: 2013-05-29 19:51:54
Summary: Actually catch exception so RPDB can examine it.
Affected #: 1 file
diff -r b6b4af02eeca3a1d165a8abfb579706c823fb253 -r 31ee3fa3dbd2fff189ad740ba726a91979afa16d yt/utilities/parallel_tools/parallel_analysis_interface.py
--- a/yt/utilities/parallel_tools/parallel_analysis_interface.py
+++ b/yt/utilities/parallel_tools/parallel_analysis_interface.py
@@ -257,7 +257,7 @@
try:
rv = func(*args, **kwargs)
all_clear = 1
- except:
+ except Exception as ex:
traceback.print_last()
all_clear = 0
else:
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