[yt-svn] commit/yt: MatthewTurk: Removing pyro4 import from top level

Bitbucket commits-noreply at bitbucket.org
Mon Jul 9 08:46:14 PDT 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/5cbdc449cf53/
changeset:   5cbdc449cf53
branch:      yt
user:        MatthewTurk
date:        2012-07-09 17:46:03
summary:     Removing pyro4 import from top level
affected #:  1 file

diff -r ebe187fee7c397da492a7c0044e67b1bb4b21e21 -r 5cbdc449cf53f66a1f01b1238b8dec0990577b21 yt/gui/reason/extdirect_repl.py
--- a/yt/gui/reason/extdirect_repl.py
+++ b/yt/gui/reason/extdirect_repl.py
@@ -40,9 +40,12 @@
 import base64
 import imp
 import threading
-import Pyro4
 import Queue
 import zipfile
+try:
+    import Pyro4
+except ImportError:
+    pass
 
 from yt.funcs import *
 from yt.utilities.logger import ytLogger, ufstring

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