[Yt-svn] yt-commit r1660 - trunk/yt

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Wed Mar 10 13:30:14 PST 2010


Author: mturk
Date: Wed Mar 10 13:30:09 2010
New Revision: 1660
URL: http://yt.enzotools.org/changeset/1660

Log:
Missed an error message in the "yt load" command



Modified:
   trunk/yt/command_line.py

Modified: trunk/yt/command_line.py
==============================================================================
--- trunk/yt/command_line.py	(original)
+++ trunk/yt/command_line.py	Wed Mar 10 13:30:09 2010
@@ -342,6 +342,7 @@
             pf = _fix_pf(arg)
         except IOError:
             print "Could not load file."
+            sys.exit()
         import yt.mods
         from IPython.Shell import IPShellEmbed
         local_ns = yt.mods.__dict__.copy()



More information about the yt-svn mailing list