[yt-svn] commit/yt: MatthewTurk: Changing os.mkdir to os.makedirs for selecting tests with not output dir

Bitbucket commits-noreply at bitbucket.org
Sat Nov 17 07:45:11 PST 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/e0004f1bce41/
changeset:   e0004f1bce41
branch:      yt
user:        MatthewTurk
date:        2012-11-17 16:44:45
summary:     Changing os.mkdir to os.makedirs for selecting tests with not output dir
affected #:  1 file

diff -r 928bf03996bb8a0704b89e5bede9ace9a57aafa2 -r e0004f1bce411f5b19faa125fcaa23ab68d5fd6c yt/utilities/answer_testing/framework.py
--- a/yt/utilities/answer_testing/framework.py
+++ b/yt/utilities/answer_testing/framework.py
@@ -112,7 +112,7 @@
                     (os.path.realpath(options.output_dir), 
                     options.store_name)
                 if not os.path.isdir(name_dir_path):
-                    os.mkdir(name_dir_path)
+                    os.makedirs(name_dir_path)
                 options.store_name= "%s/%s" % \
                         (name_dir_path, options.store_name)
         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