[Yt-svn] yt: oops, forgot the keyword!

hg at spacepope.org hg at spacepope.org
Wed Oct 20 17:22:38 PDT 2010


hg Repository: yt
details:   yt/rev/c474d7418ab7
changeset: 3453:c474d7418ab7
user:      J.S. Oishi <jsoishi at gmail.com>
date:
Wed Oct 20 17:22:27 2010 -0700
description:
oops, forgot the keyword!

diffstat:

 yt/convenience.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 117b4d2476be -r c474d7418ab7 yt/convenience.py
--- a/yt/convenience.py	Wed Oct 20 17:04:01 2010 -0700
+++ b/yt/convenience.py	Wed Oct 20 17:22:27 2010 -0700
@@ -33,7 +33,7 @@
 from yt.utilities.parameter_file_storage import \
     output_type_registry
 
-def all_pfs(max_depth=1, name_spec="*.hierarchy", **kwargs):
+def all_pfs(basedir='.',max_depth=1, name_spec="*.hierarchy", **kwargs):
     """
     This function searchs a directory and its sub-directories, up to a depth of
     *max_depth*, for parameter files.  It looks for the *name_spec* and then



More information about the yt-svn mailing list