climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject [1/2] git commit: CLIMATE-442 - Switch mkdirs to makedirs in test package setup
Date Thu, 22 May 2014 15:36:30 GMT
Repository: climate
Updated Branches:
  refs/heads/master c55bf4057 -> e585b5a6d


CLIMATE-442 - Switch mkdirs to makedirs in test package setup


Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/d86b5d33
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/d86b5d33
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/d86b5d33

Branch: refs/heads/master
Commit: d86b5d33d21322590959ec58fe100487da3b4390
Parents: c55bf40
Author: Michael Joyce <joyce@apache.org>
Authored: Thu May 22 08:31:44 2014 -0700
Committer: Michael Joyce <joyce@apache.org>
Committed: Thu May 22 08:32:39 2014 -0700

----------------------------------------------------------------------
 ocw-ui/backend/tests/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/d86b5d33/ocw-ui/backend/tests/__init__.py
----------------------------------------------------------------------
diff --git a/ocw-ui/backend/tests/__init__.py b/ocw-ui/backend/tests/__init__.py
index d1398df..90a7953 100644
--- a/ocw-ui/backend/tests/__init__.py
+++ b/ocw-ui/backend/tests/__init__.py
@@ -14,7 +14,7 @@ def setup_package():
         urlretrieve(FILE_LEADER + FILE_2, '/tmp/d2.nc')
 
     if not os.path.exists(WORK_DIR):
-        os.mkdir(WORK_DIR)
+        os.makedirs(WORK_DIR)
 
     if not os.path.exists(PATH_LEADER):
-        os.mkdir(PATH_LEADER)
+        os.makedirs(PATH_LEADER)


Mime
View raw message