[yt-svn] commit/yt: MatthewTurk: Setting pf correctly in 'yt load'

Bitbucket commits-noreply at bitbucket.org
Thu Dec 22 07:38:09 PST 2011


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/0309c95389d1/
changeset:   0309c95389d1
branch:      yt
user:        MatthewTurk
date:        2011-12-22 16:38:02
summary:     Setting pf correctly in 'yt load'
affected #:  1 file

diff -r 45f2231f24919f866a256688204694f2800d9fd3 -r 0309c95389d1591c8346e0dab20c48d7dcafec2a yt/utilities/command_line.py
--- a/yt/utilities/command_line.py
+++ b/yt/utilities/command_line.py
@@ -501,7 +501,7 @@
             api_version = '0.11'
 
         local_ns = yt.mods.__dict__.copy()
-        local_ns['pf'] = pf
+        local_ns['pf'] = args.pf
 
         if api_version == '0.10':
             shell = IPython.Shell.IPShellEmbed()

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